#2E7521#2E7521
#2E7521 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.9% C 0.138 H 140.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7521 |
|---|---|
| RGB | rgb(46, 117, 33) |
| HSL | hsl(111, 56%, 29%) |
| HSV | hsv(111, 72%, 46%) |
| CMYK | cmyk(60.7%, 0%, 71.8%, 54.1%) |
| CIE-LAB | lab(43.38, -39.01, 38.08) |
| CIE-LCH | lch(43.38, 54.51, 135.70°) |
| OKLab | oklab(49.89% -0.1067 0.0871) |
| OKLCH | oklch(49.89% 0.138 140.8) |
| XYZ | xyz(7.7622, 13.4125, 3.6184) |
| Luminance | 0.1341 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.51
Darkish Green
#287C37
ΔE00 4.24
Green
#008000
ΔE00 5.25
Dark Grass Green
#388004
ΔE00 5.59
Darkgreen
#006400
ΔE00 6.50
Jungle Green
#048243
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7521 #682175
analogous
#587521 #2E7521 #21753E
triadic
#2E7521 #212E75 #75212E
tetradic
#2E7521 #215875 #682175 #753E21
square
#2E7521 #215875 #682175 #753E21
split-complementary
#2E7521 #3E2175 #752158
monochromatic
#091807 #1B4514 #2E7521 #41A52E #5ACB46
Accessibility & contrast
On white
5.70
#2E7521 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#2E7521 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7521
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7521 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7521 | 1.00 | 5.70 | 3.68 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786A15
Deuteranopia (green-blind)
#6F6429
Tritanopia (blue-blind)
#247164
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2e7521; /* rgb */ color: rgb(46, 117, 33); /* oklch */ color: oklch(49.9% 0.138 140.8);
Tailwind
colors: {
custom: {
50: '#709d61',
500: '#2e7521',
950: '#000000',
},
}SCSS
$custom: #2e7521; $custom-light: #709d61; $custom-dark: #000000;
JSON
{
"hex": "#2e7521",
"rgb": {
"r": 46,
"g": 117,
"b": 33
},
"hsl": {
"h": 110.714,
"s": 56,
"l": 29.412
},
"oklch": {
"l": 0.49893,
"c": 0.13776,
"h": 140.8
},
"luminance": 0.13413
}Semantic roles & 50–950 ramp
primary
#2E7521
secondary
#9A4AA8
accent
#49DFC8
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79