#31AB5F#31AB5F
#31AB5F is a light, vivid green. Relative luminance 0.306; OKLCH L 65.7% C 0.154 H 151.7°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #31AB5F |
|---|---|
| RGB | rgb(49, 171, 95) |
| HSL | hsl(143, 55%, 43%) |
| HSV | hsv(143, 71%, 67%) |
| CMYK | cmyk(71.3%, 0%, 44.4%, 32.9%) |
| CIE-LAB | lab(62.17, -50.38, 29.71) |
| CIE-LCH | lch(62.17, 58.48, 149.47°) |
| OKLab | oklab(65.68% -0.1357 0.0732) |
| OKLCH | oklch(65.68% 0.154 151.7) |
| XYZ | xyz(17.8936, 30.6030, 15.7882) |
| Luminance | 0.3060 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jade Green
#2BAF6A
ΔE00 2.12
Seaweed Green
#35AD6B
ΔE00 2.18
Algae
#54AC68
ΔE00 3.10
Mediumseagreen
#3CB371
ΔE00 3.37
Greenish
#40A368
ΔE00 3.75
Cool Green
#33B864
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31AB5F #AB317D
analogous
#40AB31 #31AB5F #31AB9C
triadic
#31AB5F #5F31AB #AB5F31
tetradic
#31AB5F #3140AB #AB317D #AB9C31
square
#31AB5F #3140AB #AB317D #AB9C31
split-complementary
#31AB5F #9C31AB #AB3140
monochromatic
#164C2A #237B45 #31AB5F #4DCC7D #7DDAA0
Accessibility & contrast
On white
2.95
#31AB5F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.12
#31AB5F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31AB5F
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31AB5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31AB5F | 1.00 | 2.95 | 7.12 | 7.12 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AC9D59
Deuteranopia (green-blind)
#9D9264
Tritanopia (blue-blind)
#00A899
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #31ab5f; /* rgb */ color: rgb(49, 171, 95); /* oklch */ color: oklch(65.7% 0.154 151.7);
Tailwind
colors: {
custom: {
50: '#7ac58d',
500: '#31ab5f',
950: '#000000',
},
}SCSS
$custom: #31ab5f; $custom-light: #7ac58d; $custom-dark: #000000;
JSON
{
"hex": "#31ab5f",
"rgb": {
"r": 49,
"g": 171,
"b": 95
},
"hsl": {
"h": 142.623,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.6568,
"c": 0.15417,
"h": 151.7
},
"luminance": 0.30605
}Semantic roles & 50–950 ramp
primary
#31AB5F
secondary
#C275A5
accent
#49A6DF
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0A130C
muted
#7C827D