#2E4F0E#2E4F0E
#2E4F0E is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.8% C 0.099 H 133.1°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4F0E |
|---|---|
| RGB | rgb(46, 79, 14) |
| HSL | hsl(90, 70%, 18%) |
| HSV | hsv(90, 82%, 31%) |
| CMYK | cmyk(41.8%, 0%, 82.3%, 69%) |
| CIE-LAB | lab(29.92, -24.00, 32.30) |
| CIE-LCH | lch(29.92, 40.24, 126.61°) |
| OKLab | oklab(38.78% -0.0675 0.0721) |
| OKLCH | oklch(38.78% 0.099 133.1) |
| XYZ | xyz(4.0019, 6.2043, 1.4021) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 2.15
Dark Olive Green
#3C4D03
ΔE00 4.81
Forrest Green
#154406
ΔE00 4.82
Bottle Green
#044A05
ΔE00 5.41
Forest
#0B5509
ΔE00 5.42
Forest Green
#2D5A27
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4F0E #2F0E4F
analogous
#4E4F0E #2E4F0E #0E4F0F
triadic
#2E4F0E #0E2E4F #4F0E2E
tetradic
#2E4F0E #0E4E4F #2F0E4F #4F0F0E
square
#2E4F0E #0E4E4F #2F0E4F #4F0F0E
split-complementary
#2E4F0E #0F0E4F #4F0E4E
monochromatic
#0F1A05 #101B05 #2E4F0E #4C8317 #6BB720
Accessibility & contrast
On white
9.37
#2E4F0E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#2E4F0E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4F0E
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4F0E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4F0E | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534802
Deuteranopia (green-blind)
#4E4615
Tritanopia (blue-blind)
#2E4B43
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2e4f0e; /* rgb */ color: rgb(46, 79, 14); /* oklch */ color: oklch(38.8% 0.099 133.1);
Tailwind
colors: {
custom: {
50: '#6a8052',
500: '#2e4f0e',
950: '#000000',
},
}SCSS
$custom: #2e4f0e; $custom-light: #6a8052; $custom-dark: #000000;
JSON
{
"hex": "#2e4f0e",
"rgb": {
"r": 46,
"g": 79,
"b": 14
},
"hsl": {
"h": 90.462,
"s": 69.892,
"l": 18.235
},
"oklch": {
"l": 0.38783,
"c": 0.09879,
"h": 133.1
},
"luminance": 0.06205
}Semantic roles & 50–950 ramp
primary
#2E4F0E
secondary
#5D2F8A
accent
#3BED95
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78