#2E7229#2E7229
#2E7229 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.1% C 0.127 H 142.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7229 |
|---|---|
| RGB | rgb(46, 114, 41) |
| HSL | hsl(116, 47%, 30%) |
| HSV | hsv(116, 64%, 45%) |
| CMYK | cmyk(59.6%, 0%, 64%, 55.3%) |
| CIE-LAB | lab(42.42, -36.94, 33.34) |
| CIE-LCH | lch(42.42, 49.76, 137.94°) |
| OKLab | oklab(49.13% -0.1007 0.078) |
| OKLCH | oklch(49.13% 0.127 142.2) |
| XYZ | xyz(7.5439, 12.7749, 4.1657) |
| Luminance | 0.1278 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.94
Tree Green
#2A7E19
ΔE00 5.26
Darkgreen
#006400
ΔE00 6.27
Green
#008000
ΔE00 6.96
Jungle Green
#048243
ΔE00 7.26
Dark Grass Green
#388004
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7229 #6D2972
analogous
#537229 #2E7229 #297248
triadic
#2E7229 #292E72 #72292E
tetradic
#2E7229 #295372 #6D2972 #724829
square
#2E7229 #295372 #6D2972 #724829
split-complementary
#2E7229 #482972 #722953
monochromatic
#0A1809 #1C4519 #2E7229 #409F39 #5BC154
Accessibility & contrast
On white
5.91
#2E7229 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#2E7229 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7229
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7229 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7229 | 1.00 | 5.91 | 3.56 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756821
Deuteranopia (green-blind)
#6C622F
Tritanopia (blue-blind)
#246F62
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2e7229; /* rgb */ color: rgb(46, 114, 41); /* oklch */ color: oklch(49.1% 0.127 142.2);
Tailwind
colors: {
custom: {
50: '#6e9b66',
500: '#2e7229',
950: '#000000',
},
}SCSS
$custom: #2e7229; $custom-light: #6e9b66; $custom-dark: #000000;
JSON
{
"hex": "#2e7229",
"rgb": {
"r": 46,
"g": 114,
"b": 41
},
"hsl": {
"h": 115.89,
"s": 47.097,
"l": 30.392
},
"oklch": {
"l": 0.49129,
"c": 0.12734,
"h": 142.2
},
"luminance": 0.12776
}Semantic roles & 50–950 ramp
primary
#2E7229
secondary
#9F53A4
accent
#51D7CE
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A