#31A55E#31A55E
#31A55E is a light, vivid green. Relative luminance 0.284; OKLCH L 64.1% C 0.147 H 152.2°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #31A55E |
|---|---|
| RGB | rgb(49, 165, 94) |
| HSL | hsl(143, 54%, 42%) |
| HSV | hsv(143, 70%, 65%) |
| CMYK | cmyk(70.3%, 0%, 43%, 35.3%) |
| CIE-LAB | lab(60.22, -48.27, 27.71) |
| CIE-LCH | lch(60.22, 55.65, 150.14°) |
| OKLab | oklab(64.07% -0.1301 0.0685) |
| OKLCH | oklch(64.07% 0.147 152.2) |
| XYZ | xyz(16.7407, 28.3695, 15.1811) |
| Luminance | 0.2837 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Greenish
#40A368
ΔE00 2.47
Seaweed Green
#35AD6B
ΔE00 2.83
Jade Green
#2BAF6A
ΔE00 3.18
Emerald (survey)
#01A049
ΔE00 3.68
Algae
#54AC68
ΔE00 3.73
Teal Green
#25A36F
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31A55E #A53178
analogous
#3EA531 #31A55E #31A598
triadic
#31A55E #5E31A5 #A55E31
tetradic
#31A55E #313EA5 #A53178 #A59831
square
#31A55E #313EA5 #A53178 #A59831
split-complementary
#31A55E #9831A5 #A5313E
monochromatic
#154728 #237643 #31A55E #4AC97B #79D79E
Accessibility & contrast
On white
3.15
#31A55E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.67
#31A55E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #31A55E
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31A55E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31A55E | 1.00 | 3.15 | 6.67 | 6.67 |
| #FFFFFF | 3.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A59759
Deuteranopia (green-blind)
#978D63
Tritanopia (blue-blind)
#00A394
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #31a55e; /* rgb */ color: rgb(49, 165, 94); /* oklch */ color: oklch(64.1% 0.147 152.2);
Tailwind
colors: {
custom: {
50: '#78c18c',
500: '#31a55e',
950: '#000000',
},
}SCSS
$custom: #31a55e; $custom-light: #78c18c; $custom-dark: #000000;
JSON
{
"hex": "#31a55e",
"rgb": {
"r": 49,
"g": 165,
"b": 94
},
"hsl": {
"h": 143.276,
"s": 54.206,
"l": 41.961
},
"oklch": {
"l": 0.64066,
"c": 0.14704,
"h": 152.2
},
"luminance": 0.28371
}Semantic roles & 50–950 ramp
primary
#31A55E
secondary
#C072A2
accent
#4AA4DE
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#0A120C
muted
#7C817D