#2E5F0D#2E5F0D
#2E5F0D is a dark, vivid yellow-green. Relative luminance 0.088; OKLCH L 43.4% C 0.121 H 136.3°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5F0D |
|---|---|
| RGB | rgb(46, 95, 13) |
| HSL | hsl(96, 76%, 21%) |
| HSV | hsv(96, 86%, 37%) |
| CMYK | cmyk(51.6%, 0%, 86.3%, 62.7%) |
| CIE-LAB | lab(35.58, -31.43, 38.00) |
| CIE-LCH | lch(35.58, 49.31, 129.60°) |
| OKLab | oklab(43.43% -0.0876 0.0839) |
| OKLCH | oklch(43.43% 0.121 136.3) |
| XYZ | xyz(5.2914, 8.7940, 1.7993) |
| Luminance | 0.0879 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkgreen
#006400
ΔE00 4.35
Navy Green
#35530A
ΔE00 4.73
Forest
#0B5509
ΔE00 4.93
Deep Green
#02590F
ΔE00 4.96
Forest Green
#2D5A27
ΔE00 5.60
Camouflage Green
#4B6113
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5F0D #3E0D5F
analogous
#575F0D #2E5F0D #0D5F15
triadic
#2E5F0D #0D2E5F #5F0D2E
tetradic
#2E5F0D #0D575F #3E0D5F #5F150D
square
#2E5F0D #0D575F #3E0D5F #5F150D
split-complementary
#2E5F0D #150D5F #5F0D57
monochromatic
#0D1B04 #142906 #2E5F0D #489514 #62CB1C
Accessibility & contrast
On white
7.61
#2E5F0D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#2E5F0D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E5F0D
7.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5F0D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5F0D | 1.00 | 7.61 | 2.76 | 7.61 |
| #FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635600
Deuteranopia (green-blind)
#5C5217
Tritanopia (blue-blind)
#2C5B50
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2e5f0d; /* rgb */ color: rgb(46, 95, 13); /* oklch */ color: oklch(43.4% 0.121 136.3);
Tailwind
colors: {
custom: {
50: '#6d8d54',
500: '#2e5f0d',
950: '#000000',
},
}SCSS
$custom: #2e5f0d; $custom-light: #6d8d54; $custom-dark: #000000;
JSON
{
"hex": "#2e5f0d",
"rgb": {
"r": 46,
"g": 95,
"b": 13
},
"hsl": {
"h": 95.854,
"s": 75.926,
"l": 21.176
},
"oklch": {
"l": 0.43426,
"c": 0.12129,
"h": 136.3
},
"luminance": 0.08794
}Semantic roles & 50–950 ramp
primary
#2E5F0D
secondary
#6E2F99
accent
#35F3A6
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78