#31B162#31B162
#31B162 is a light, vivid green. Relative luminance 0.330; OKLCH L 67.3% C 0.159 H 151.7°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #31B162 |
|---|---|
| RGB | rgb(49, 177, 98) |
| HSL | hsl(143, 57%, 44%) |
| HSV | hsv(143, 72%, 69%) |
| CMYK | cmyk(72.3%, 0%, 44.6%, 30.6%) |
| CIE-LAB | lab(64.14, -52.11, 30.68) |
| CIE-LCH | lch(64.14, 60.47, 149.51°) |
| OKLab | oklab(67.32% -0.1403 0.0755) |
| OKLCH | oklch(67.32% 0.159 151.7) |
| XYZ | xyz(19.1917, 32.9769, 16.9066) |
| Luminance | 0.3298 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Cool Green
#33B864
ΔE00 2.03
Jade Green
#2BAF6A
ΔE00 2.06
Seaweed Green
#35AD6B
ΔE00 2.55
Mediumseagreen
#3CB371
ΔE00 2.67
Algae
#54AC68
ΔE00 3.36
Shamrock
#01B44C
ΔE00 3.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31B162 #B13180
analogous
#40B131 #31B162 #31B1A2
triadic
#31B162 #6231B1 #B16231
tetradic
#31B162 #3140B1 #B13180 #B1A231
square
#31B162 #3140B1 #B13180 #B1A231
split-complementary
#31B162 #A231B1 #B13140
monochromatic
#16512D #248147 #31B162 #51CF81 #80DCA3
Accessibility & contrast
On white
2.76
#31B162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.60
#31B162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31B162
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31B162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31B162 | 1.00 | 2.76 | 7.60 | 7.60 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B2A25C
Deuteranopia (green-blind)
#A29767
Tritanopia (blue-blind)
#00AE9E
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #31b162; /* rgb */ color: rgb(49, 177, 98); /* oklch */ color: oklch(67.3% 0.159 151.7);
Tailwind
colors: {
custom: {
50: '#7bc990',
500: '#31b162',
950: '#000000',
},
}SCSS
$custom: #31b162; $custom-light: #7bc990; $custom-dark: #000000;
JSON
{
"hex": "#31b162",
"rgb": {
"r": 49,
"g": 177,
"b": 98
},
"hsl": {
"h": 142.969,
"s": 56.637,
"l": 44.314
},
"oklch": {
"l": 0.67322,
"c": 0.15933,
"h": 151.7
},
"luminance": 0.32979
}Semantic roles & 50–950 ramp
primary
#31B162
secondary
#C579A8
accent
#48A6E0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D