#2E712B#2E712B
#2E712B is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.9% C 0.124 H 142.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2E712B |
|---|---|
| RGB | rgb(46, 113, 43) |
| HSL | hsl(117, 45%, 31%) |
| HSV | hsv(117, 62%, 44%) |
| CMYK | cmyk(59.3%, 0%, 61.9%, 55.7%) |
| CIE-LAB | lab(42.10, -36.28, 31.98) |
| CIE-LCH | lch(42.10, 48.36, 138.61°) |
| OKLab | oklab(48.87% -0.0987 0.0753) |
| OKLCH | oklch(48.87% 0.124 142.7) |
| XYZ | xyz(7.4675, 12.5649, 4.3168) |
| Luminance | 0.1257 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.07
Tree Green
#2A7E19
ΔE00 5.83
Darkgreen
#006400
ΔE00 6.29
Jungle Green
#048243
ΔE00 7.28
Green
#008000
ΔE00 7.52
Dark Grass Green
#388004
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E712B #6E2B71
analogous
#51712B #2E712B #2B714B
triadic
#2E712B #2B2E71 #712B2E
tetradic
#2E712B #2B5171 #6E2B71 #714B2B
square
#2E712B #2B5171 #6E2B71 #714B2B
split-complementary
#2E712B #4B2B71 #712B51
monochromatic
#0A1809 #1C451A #2E712B #409D3C #5CBF57
Accessibility & contrast
On white
5.98
#2E712B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#2E712B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E712B
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E712B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E712B | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736724
Deuteranopia (green-blind)
#6B6131
Tritanopia (blue-blind)
#246E62
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2e712b; /* rgb */ color: rgb(46, 113, 43); /* oklch */ color: oklch(48.9% 0.124 142.7);
Tailwind
colors: {
custom: {
50: '#6e9a67',
500: '#2e712b',
950: '#000000',
},
}SCSS
$custom: #2e712b; $custom-light: #6e9a67; $custom-dark: #000000;
JSON
{
"hex": "#2e712b",
"rgb": {
"r": 46,
"g": 113,
"b": 43
},
"hsl": {
"h": 117.429,
"s": 44.872,
"l": 30.588
},
"oklch": {
"l": 0.4887,
"c": 0.12417,
"h": 142.7
},
"luminance": 0.12566
}Semantic roles & 50–950 ramp
primary
#2E712B
secondary
#9F55A3
accent
#53D5CF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A