#2E5A18#2E5A18
#2E5A18 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.1% C 0.107 H 137.0°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5A18 |
|---|---|
| RGB | rgb(46, 90, 24) |
| HSL | hsl(100, 58%, 22%) |
| HSV | hsv(100, 73%, 35%) |
| CMYK | cmyk(48.9%, 0%, 73.3%, 64.7%) |
| CIE-LAB | lab(33.90, -28.38, 32.06) |
| CIE-LCH | lch(33.90, 42.82, 131.52°) |
| OKLab | oklab(42.06% -0.0786 0.0732) |
| OKLCH | oklch(42.06% 0.107 137) |
| XYZ | xyz(4.9476, 7.9588, 2.1395) |
| Luminance | 0.0796 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.29
Navy Green
#35530A
ΔE00 3.87
Forest
#0B5509
ΔE00 4.07
Deep Green
#02590F
ΔE00 4.37
Darkgreen
#006400
ΔE00 5.93
Bottle Green
#044A05
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5A18 #44185A
analogous
#4F5A18 #2E5A18 #185A23
triadic
#2E5A18 #182E5A #5A182E
tetradic
#2E5A18 #184F5A #44185A #5A2318
square
#2E5A18 #184F5A #44185A #5A2318
split-complementary
#2E5A18 #23185A #5A184F
monochromatic
#0C1806 #152A0B #2E5A18 #478A25 #5FBB32
Accessibility & contrast
On white
8.10
#2E5A18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#2E5A18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E5A18
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5A18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5A18 | 1.00 | 8.10 | 2.59 | 8.10 |
| #FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D520F
Deuteranopia (green-blind)
#574E1E
Tritanopia (blue-blind)
#2C574D
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2e5a18; /* rgb */ color: rgb(46, 90, 24); /* oklch */ color: oklch(42.1% 0.107 137.0);
Tailwind
colors: {
custom: {
50: '#6b8959',
500: '#2e5a18',
950: '#000000',
},
}SCSS
$custom: #2e5a18; $custom-light: #6b8959; $custom-dark: #000000;
JSON
{
"hex": "#2e5a18",
"rgb": {
"r": 46,
"g": 90,
"b": 24
},
"hsl": {
"h": 100,
"s": 57.895,
"l": 22.353
},
"oklch": {
"l": 0.42064,
"c": 0.10741,
"h": 137
},
"luminance": 0.07959
}Semantic roles & 50–950 ramp
primary
#2E5A18
secondary
#753D91
accent
#47E1AE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B04
muted
#7A7C79