#2E5A10#2E5A10
#2E5A10 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.0% C 0.113 H 135.8°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5A10 |
|---|---|
| RGB | rgb(46, 90, 16) |
| HSL | hsl(96, 70%, 21%) |
| HSV | hsv(96, 82%, 35%) |
| CMYK | cmyk(48.9%, 0%, 82.2%, 64.7%) |
| CIE-LAB | lab(33.84, -29.03, 35.32) |
| CIE-LCH | lch(33.84, 45.72, 129.41°) |
| OKLab | oklab(42% -0.081 0.0788) |
| OKLCH | oklch(42% 0.113 135.8) |
| XYZ | xyz(4.8763, 7.9303, 1.7639) |
| Luminance | 0.0793 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 3.32
Forest
#0B5509
ΔE00 4.20
Forest Green
#2D5A27
ΔE00 4.60
Deep Green
#02590F
ΔE00 4.65
Darkgreen
#006400
ΔE00 5.58
Camouflage Green
#4B6113
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5A10 #3C105A
analogous
#535A10 #2E5A10 #105A17
triadic
#2E5A10 #102E5A #5A102E
tetradic
#2E5A10 #10535A #3C105A #5A1710
square
#2E5A10 #10535A #3C105A #5A1710
split-complementary
#2E5A10 #17105A #5A1053
monochromatic
#0D1A05 #132607 #2E5A10 #498E19 #63C222
Accessibility & contrast
On white
8.12
#2E5A10 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#2E5A10 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E5A10
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5A10 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5A10 | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5201
Deuteranopia (green-blind)
#584E18
Tritanopia (blue-blind)
#2C564C
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2e5a10; /* rgb */ color: rgb(46, 90, 16); /* oklch */ color: oklch(42.0% 0.113 135.8);
Tailwind
colors: {
custom: {
50: '#6c8955',
500: '#2e5a10',
950: '#000000',
},
}SCSS
$custom: #2e5a10; $custom-light: #6c8955; $custom-dark: #000000;
JSON
{
"hex": "#2e5a10",
"rgb": {
"r": 46,
"g": 90,
"b": 16
},
"hsl": {
"h": 95.676,
"s": 69.811,
"l": 20.784
},
"oklch": {
"l": 0.41996,
"c": 0.11295,
"h": 135.8
},
"luminance": 0.07931
}Semantic roles & 50–950 ramp
primary
#2E5A10
secondary
#6C3393
accent
#3BEDA5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78