#2E712F#2E712F
#2E712F is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.9% C 0.120 H 143.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2E712F |
|---|---|
| RGB | rgb(46, 113, 47) |
| HSL | hsl(121, 42%, 31%) |
| HSV | hsv(121, 59%, 44%) |
| CMYK | cmyk(59.3%, 0%, 58.4%, 55.7%) |
| CIE-LAB | lab(42.15, -35.75, 29.99) |
| CIE-LCH | lch(42.15, 46.66, 140.01°) |
| OKLab | oklab(48.93% -0.0971 0.0713) |
| OKLCH | oklch(48.93% 0.12 143.7) |
| XYZ | xyz(7.5445, 12.5957, 4.7224) |
| Luminance | 0.1260 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.90
Tree Green
#2A7E19
ΔE00 6.37
Darkgreen
#006400
ΔE00 6.77
Jungle Green
#048243
ΔE00 6.93
Forest Green
#2D5A27
ΔE00 7.88
Green
#008000
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E712F #712E70
analogous
#4E712E #2E712F #2E7150
triadic
#2E712F #2F2E71 #712F2E
tetradic
#2E712F #2E4E71 #712E70 #71502E
square
#2E712F #2E4E71 #712E70 #71502E
split-complementary
#2E712F #502E71 #712E4E
monochromatic
#0B1A0B #1C461D #2E712F #409C41 #5DBD5E
Accessibility & contrast
On white
5.97
#2E712F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#2E712F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E712F
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E712F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E712F | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736729
Deuteranopia (green-blind)
#6B6134
Tritanopia (blue-blind)
#236E62
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2e712f; /* rgb */ color: rgb(46, 113, 47); /* oklch */ color: oklch(48.9% 0.120 143.7);
Tailwind
colors: {
custom: {
50: '#6e9a69',
500: '#2e712f',
950: '#000000',
},
}SCSS
$custom: #2e712f; $custom-light: #6e9a69; $custom-dark: #000000;
JSON
{
"hex": "#2e712f",
"rgb": {
"r": 46,
"g": 113,
"b": 47
},
"hsl": {
"h": 120.896,
"s": 42.138,
"l": 31.176
},
"oklch": {
"l": 0.48925,
"c": 0.12049,
"h": 143.7
},
"luminance": 0.12596
}Semantic roles & 50–950 ramp
primary
#2E712F
secondary
#A258A1
accent
#56D0D2
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A