#31AB5E#31AB5E
#31AB5E is a light, vivid green. Relative luminance 0.306; OKLCH L 65.7% C 0.155 H 151.4°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #31AB5E |
|---|---|
| RGB | rgb(49, 171, 94) |
| HSL | hsl(142, 55%, 43%) |
| HSV | hsv(142, 71%, 67%) |
| CMYK | cmyk(71.3%, 0%, 45%, 32.9%) |
| CIE-LAB | lab(62.16, -50.55, 30.21) |
| CIE-LCH | lch(62.16, 58.89, 149.14°) |
| OKLab | oklab(65.66% -0.1361 0.0743) |
| OKLCH | oklch(65.66% 0.155 151.4) |
| XYZ | xyz(17.8484, 30.5849, 15.5503) |
| Luminance | 0.3059 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jade Green
#2BAF6A
ΔE00 2.28
Seaweed Green
#35AD6B
ΔE00 2.36
Algae
#54AC68
ΔE00 3.15
Mediumseagreen
#3CB371
ΔE00 3.50
Cool Green
#33B864
ΔE00 3.74
Greenish
#40A368
ΔE00 3.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31AB5E #AB317E
analogous
#41AB31 #31AB5E #31AB9B
triadic
#31AB5E #5E31AB #AB5E31
tetradic
#31AB5E #3141AB #AB317E #AB9B31
square
#31AB5E #3141AB #AB317E #AB9B31
split-complementary
#31AB5E #9B31AB #AB3141
monochromatic
#164C2A #237B44 #31AB5E #4DCC7C #7DDA9F
Accessibility & contrast
On white
2.95
#31AB5E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.12
#31AB5E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31AB5E
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31AB5E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31AB5E | 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)
#AC9D58
Deuteranopia (green-blind)
#9D9263
Tritanopia (blue-blind)
#00A898
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #31ab5e; /* rgb */ color: rgb(49, 171, 94); /* oklch */ color: oklch(65.7% 0.155 151.4);
Tailwind
colors: {
custom: {
50: '#7ac58d',
500: '#31ab5e',
950: '#000000',
},
}SCSS
$custom: #31ab5e; $custom-light: #7ac58d; $custom-dark: #000000;
JSON
{
"hex": "#31ab5e",
"rgb": {
"r": 49,
"g": 171,
"b": 94
},
"hsl": {
"h": 142.131,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.65662,
"c": 0.15511,
"h": 151.4
},
"luminance": 0.30587
}Semantic roles & 50–950 ramp
primary
#31AB5E
secondary
#C275A6
accent
#49A8DF
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0A130C
muted
#7C827D