#31AF2E#31AF2E
#31AF2E is a light, vivid green. Relative luminance 0.315; OKLCH L 66.1% C 0.198 H 142.7°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #31AF2E |
|---|---|
| RGB | rgb(49, 175, 46) |
| HSL | hsl(119, 58%, 43%) |
| HSV | hsv(119, 74%, 69%) |
| CMYK | cmyk(72%, 0%, 73.7%, 31.4%) |
| CIE-LAB | lab(62.93, -58.03, 53.15) |
| CIE-LCH | lch(62.93, 78.70, 137.51°) |
| OKLab | oklab(66.14% -0.1577 0.1203) |
| OKLCH | oklch(66.14% 0.198 142.7) |
| XYZ | xyz(17.0887, 31.5083, 7.7653) |
| Luminance | 0.3151 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Green (survey)
#15B01A
ΔE00 1.67
Kelly Green (survey)
#02AB2E
ΔE00 2.18
Leafy Green
#51B73B
ΔE00 3.31
Medium Green
#39AD48
ΔE00 3.35
Grass
#5CAC2D
ΔE00 4.09
Mid Green
#50A747
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31AF2E #AC2EAF
analogous
#71AF2E #31AF2E #2EAF6B
triadic
#31AF2E #2E31AF #AF2E31
tetradic
#31AF2E #2E71AF #AC2EAF #AF6B2E
square
#31AF2E #2E71AF #AC2EAF #AF6B2E
split-complementary
#31AF2E #6B2EAF #AF2E71
monochromatic
#164E15 #237F21 #31AF2E #4ED04B #7DDC7B
Accessibility & contrast
On white
2.88
#31AF2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.30
#31AF2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31AF2E
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31AF2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31AF2E | 1.00 | 2.88 | 7.30 | 7.30 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E16
Deuteranopia (green-blind)
#A5943C
Tritanopia (blue-blind)
#03AA96
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #31af2e; /* rgb */ color: rgb(49, 175, 46); /* oklch */ color: oklch(66.1% 0.198 142.7);
Tailwind
colors: {
custom: {
50: '#7dc86f',
500: '#31af2e',
950: '#000000',
},
}SCSS
$custom: #31af2e; $custom-light: #7dc86f; $custom-dark: #000000;
JSON
{
"hex": "#31af2e",
"rgb": {
"r": 49,
"g": 175,
"b": 46
},
"hsl": {
"h": 118.605,
"s": 58.371,
"l": 43.333
},
"oklch": {
"l": 0.6614,
"c": 0.19836,
"h": 142.7
},
"luminance": 0.3151
}Semantic roles & 50–950 ramp
primary
#31AF2E
secondary
#C374C5
accent
#46E2DE
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B