# #31a87b color: Cosmic Green

#31a87b is rgb(49, 168, 123) in RGB and oklch(65.486% 0.12458 163.39) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/31a87b

## Formats

| Format | Value |
| --- | --- |
| HEX | #31a87b |
| RGB | rgb(49, 168, 123) |
| HSL | hsl(157.31, 54.84%, 42.55%) |
| HSB / HSV | hsv(157.31 70.83% 65.88%) |
| HWB | hwb(157.31 19.22% 34.12%) |
| CMYK | cmyk(71% 0% 27% 34%) |
| Lab | lab(61.62 -42.31 13.45) |
| LCH | lch(61.62 44.39 162.37) |
| OKLab | oklab(65.486% -0.11938 0.03561) |
| OKLCH | oklch(65.486% 0.12458 163.39) |
| Display P3 | color(display-p3 0.34026 0.64964 0.49476) |
| Rec. 2020 | color(rec2020 0.37824 0.59869 0.44809) |
| Adobe RGB | color(a98-rgb 0.40029 0.6529 0.48758) |
| ProPhoto RGB | color(prophoto-rgb 0.37776 0.55865 0.42903) |
| Linear sRGB | color(srgb-linear 0.03071 0.39157 0.19807) |
| XYZ D65 | color(xyz-d65 0.18843 0.30087 0.23554) |
| XYZ D50 | color(xyz-d50 0.19255 0.29955 0.17988) |
| SwiftUI | Color(red: 0.192, green: 0.659, blue: 0.482) |
| UIKit | UIColor(red: 0.192, green: 0.659, blue: 0.482, alpha: 1) |
| Flutter / Compose | Color(0xFF31A87B) |
| Android XML | #31A87B |

## Facts

- Closest name: Cosmic Green
- Hue family: Emerald, bright emerald
- Closest Tailwind class: emerald-500
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 2.99:1
- Contrast with black: 7.02:1

## Tints

#31a87b, #4eb188, #66ba94, #7bc2a1, #8fcbae, #a2d4bb, #b5dcc9, #c8e5d6, #daeee4, #edf6f1

## Shades

#31a87b, #29926a, #227c5a, #1a674a, #13523a, #0c3f2c, #062c1e, #031a10, #010a05, #000101

## Tones

#31a87b, #42a67d, #4fa47f, #5aa282, #649f84, #6d9d86, #759b88, #7c988a, #84968c, #8a938e

## Harmonies

- Complementary: #31a87b, #c570a4
- Split: #31a87b, #ac79c6, #d16e7a
- Analogous: #31a87b, #71a14e, #00a8a6
- Triadic: #31a87b, #8785da, #cf754f
- Tetradic: #31a87b, #00a0c8, #c570a4, #cf754f
- Square: #31a87b, #5693db, #c570a4, #be8328
- Monochromatic: #31a87b, #005e3a, #008358, #5ecf9f, #87f6c5

## Questions about #31a87b

### What color is #31a87b?

#31a87b is bright emerald. The closest named color is Cosmic Green. In RGB it is rgb(49, 168, 123), in HSL hsl(157.31, 54.84%, 42.55%) and in OKLCH oklch(65.486% 0.12458 163.39).

### What colors go well with #31a87b?

The complementary color of #31a87b is #c570a4. For a calmer combination use the analogous colors #71a14e and #00a8a6. The triadic partners are #8785da and #cf754f.

### Is white or black text more readable on #31a87b?

Black text reads better on #31a87b: white gives a contrast ratio of 2.99:1 and black gives 7.02:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #31a87b a warm or cool color?

#31a87b is a cool color. In OKLCH its hue is 163 degrees, its lightness 65.5% and its chroma 0.125.
