#31B02E#31B02E
#31B02E is a light, vivid green. Relative luminance 0.319; OKLCH L 66.4% C 0.199 H 142.7°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #31B02E |
|---|---|
| RGB | rgb(49, 176, 46) |
| HSL | hsl(119, 59%, 44%) |
| HSV | hsv(119, 74%, 69%) |
| CMYK | cmyk(72.2%, 0%, 73.9%, 31%) |
| CIE-LAB | lab(63.26, -58.36, 53.48) |
| CIE-LCH | lch(63.26, 79.16, 137.50°) |
| OKLab | oklab(66.41% -0.1586 0.121) |
| OKLCH | oklch(66.41% 0.199 142.7) |
| XYZ | xyz(17.2841, 31.8990, 7.8305) |
| Luminance | 0.3190 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Green (survey)
#15B01A
ΔE00 1.62
Kelly Green (survey)
#02AB2E
ΔE00 2.39
Leafy Green
#51B73B
ΔE00 3.10
Medium Green
#39AD48
ΔE00 3.46
Grass
#5CAC2D
ΔE00 4.12
Shamrock
#01B44C
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31B02E #AD2EB0
analogous
#72B02E #31B02E #2EB06C
triadic
#31B02E #2E31B0 #B02E31
tetradic
#31B02E #2E72B0 #AD2EB0 #B06C2E
square
#31B02E #2E72B0 #AD2EB0 #B06C2E
split-complementary
#31B02E #6C2EB0 #B02E72
monochromatic
#164F15 #237F21 #31B02E #4ED04B #7EDD7C
Accessibility & contrast
On white
2.85
#31B02E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.38
#31B02E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31B02E
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31B02E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31B02E | 1.00 | 2.85 | 7.38 | 7.38 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F15
Deuteranopia (green-blind)
#A5953C
Tritanopia (blue-blind)
#01AB97
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #31b02e; /* rgb */ color: rgb(49, 176, 46); /* oklch */ color: oklch(66.4% 0.199 142.7);
Tailwind
colors: {
custom: {
50: '#7dc96f',
500: '#31b02e',
950: '#000000',
},
}SCSS
$custom: #31b02e; $custom-light: #7dc96f; $custom-dark: #000000;
JSON
{
"hex": "#31b02e",
"rgb": {
"r": 49,
"g": 176,
"b": 46
},
"hsl": {
"h": 118.615,
"s": 58.559,
"l": 43.529
},
"oklch": {
"l": 0.6641,
"c": 0.19948,
"h": 142.7
},
"luminance": 0.31901
}Semantic roles & 50–950 ramp
primary
#31B02E
secondary
#C375C5
accent
#46E2DE
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B