#31B659#31B659
#31B659 is a light, vivid green. Relative luminance 0.348; OKLCH L 68.5% C 0.174 H 148.9°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #31B659 |
|---|---|
| RGB | rgb(49, 182, 89) |
| HSL | hsl(138, 58%, 45%) |
| HSV | hsv(138, 73%, 71%) |
| CMYK | cmyk(73.1%, 0%, 51.1%, 28.6%) |
| CIE-LAB | lab(65.61, -55.40, 37.13) |
| CIE-LCH | lch(65.61, 66.69, 146.17°) |
| OKLab | oklab(68.5% -0.149 0.0898) |
| OKLCH | oklch(68.5% 0.174 148.9) |
| XYZ | xyz(19.7962, 34.8279, 15.1284) |
| Luminance | 0.3483 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Cool Green
#33B864
ΔE00 1.73
Shamrock
#01B44C
ΔE00 2.05
Medium Green
#39AD48
ΔE00 3.27
Dark Pastel Green
#56AE57
ΔE00 3.76
Shamrock Green
#02C14D
ΔE00 3.90
Dark Mint
#48C072
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31B659 #B6318E
analogous
#4BB631 #31B659 #31B69B
triadic
#31B659 #5931B6 #B65931
tetradic
#31B659 #314BB6 #B6318E #B69B31
square
#31B659 #314BB6 #B6318E #B69B31
split-complementary
#31B659 #9B31B6 #B6314B
monochromatic
#17562A #248641 #31B659 #53D179 #84DE9F
Accessibility & contrast
On white
2.64
#31B659 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.97
#31B659 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31B659
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31B659 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31B659 | 1.00 | 2.64 | 7.97 | 7.97 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A651
Deuteranopia (green-blind)
#A89B60
Tritanopia (blue-blind)
#00B2A0
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #31b659; /* rgb */ color: rgb(49, 182, 89); /* oklch */ color: oklch(68.5% 0.174 148.9);
Tailwind
colors: {
custom: {
50: '#7ccd8a',
500: '#31b659',
950: '#000000',
},
}SCSS
$custom: #31b659; $custom-light: #7ccd8a; $custom-dark: #000000;
JSON
{
"hex": "#31b659",
"rgb": {
"r": 49,
"g": 182,
"b": 89
},
"hsl": {
"h": 138.045,
"s": 57.576,
"l": 45.294
},
"oklch": {
"l": 0.68497,
"c": 0.17403,
"h": 148.9
},
"luminance": 0.3483
}Semantic roles & 50–950 ramp
primary
#31B659
secondary
#C77CB0
accent
#47B3E1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140C
muted
#7C827D