#31A55F#31A55F
#31A55F is a light, vivid green. Relative luminance 0.284; OKLCH L 64.1% C 0.146 H 152.5°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #31A55F |
|---|---|
| RGB | rgb(49, 165, 95) |
| HSL | hsl(144, 54%, 42%) |
| HSV | hsv(144, 70%, 65%) |
| CMYK | cmyk(70.3%, 0%, 42.4%, 35.3%) |
| CIE-LAB | lab(60.24, -48.08, 27.20) |
| CIE-LCH | lch(60.24, 55.24, 150.51°) |
| OKLab | oklab(64.09% -0.1296 0.0673) |
| OKLCH | oklch(64.09% 0.146 152.5) |
| XYZ | xyz(16.7859, 28.3876, 15.4190) |
| Luminance | 0.2839 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Greenish
#40A368
ΔE00 2.30
Seaweed Green
#35AD6B
ΔE00 2.72
Jade Green
#2BAF6A
ΔE00 3.11
Algae
#54AC68
ΔE00 3.73
Emerald (survey)
#01A049
ΔE00 3.84
Teal Green
#25A36F
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31A55F #A53177
analogous
#3DA531 #31A55F #31A599
triadic
#31A55F #5F31A5 #A55F31
tetradic
#31A55F #313DA5 #A53177 #A59931
square
#31A55F #313DA5 #A53177 #A59931
split-complementary
#31A55F #9931A5 #A5313D
monochromatic
#154729 #237644 #31A55F #4AC97C #79D79E
Accessibility & contrast
On white
3.14
#31A55F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.68
#31A55F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #31A55F
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31A55F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31A55F | 1.00 | 3.14 | 6.68 | 6.68 |
| #FFFFFF | 3.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A5975A
Deuteranopia (green-blind)
#978D64
Tritanopia (blue-blind)
#00A394
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #31a55f; /* rgb */ color: rgb(49, 165, 95); /* oklch */ color: oklch(64.1% 0.146 152.5);
Tailwind
colors: {
custom: {
50: '#78c18d',
500: '#31a55f',
950: '#000000',
},
}SCSS
$custom: #31a55f; $custom-light: #78c18d; $custom-dark: #000000;
JSON
{
"hex": "#31a55f",
"rgb": {
"r": 49,
"g": 165,
"b": 95
},
"hsl": {
"h": 143.793,
"s": 54.206,
"l": 41.961
},
"oklch": {
"l": 0.64085,
"c": 0.14609,
"h": 152.5
},
"luminance": 0.28389
}Semantic roles & 50–950 ramp
primary
#31A55F
secondary
#C072A1
accent
#4AA3DE
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#0A120C
muted
#7C817D