#2D4F0E#2D4F0E
#2D4F0E is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.7% C 0.099 H 133.6°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4F0E |
|---|---|
| RGB | rgb(45, 79, 14) |
| HSL | hsl(91, 70%, 18%) |
| HSV | hsv(91, 82%, 31%) |
| CMYK | cmyk(43%, 0%, 82.3%, 69%) |
| CIE-LAB | lab(29.87, -24.40, 32.22) |
| CIE-LCH | lch(29.87, 40.42, 127.13°) |
| OKLab | oklab(38.72% -0.0686 0.072) |
| OKLCH | oklch(38.72% 0.099 133.6) |
| XYZ | xyz(3.9574, 6.1814, 1.4000) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 2.30
Forrest Green
#154406
ΔE00 4.66
Dark Olive Green
#3C4D03
ΔE00 5.02
Bottle Green
#044A05
ΔE00 5.20
Forest
#0B5509
ΔE00 5.22
Darkgreen (survey)
#054907
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4F0E #300E4F
analogous
#4D4F0E #2D4F0E #0E4F10
triadic
#2D4F0E #0E2D4F #4F0E2D
tetradic
#2D4F0E #0E4D4F #300E4F #4F100E
square
#2D4F0E #0E4D4F #300E4F #4F100E
split-complementary
#2D4F0E #100E4F #4F0E4D
monochromatic
#0F1A05 #0F1B05 #2D4F0E #4B8317 #68B720
Accessibility & contrast
On white
9.39
#2D4F0E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#2D4F0E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4F0E
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4F0E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4F0E | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524802
Deuteranopia (green-blind)
#4E4515
Tritanopia (blue-blind)
#2D4C43
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2d4f0e; /* rgb */ color: rgb(45, 79, 14); /* oklch */ color: oklch(38.7% 0.099 133.6);
Tailwind
colors: {
custom: {
50: '#6a8052',
500: '#2d4f0e',
950: '#000000',
},
}SCSS
$custom: #2d4f0e; $custom-light: #6a8052; $custom-dark: #000000;
JSON
{
"hex": "#2d4f0e",
"rgb": {
"r": 45,
"g": 79,
"b": 14
},
"hsl": {
"h": 91.385,
"s": 69.892,
"l": 18.235
},
"oklch": {
"l": 0.38722,
"c": 0.0994,
"h": 133.6
},
"luminance": 0.06182
}Semantic roles & 50–950 ramp
primary
#2D4F0E
secondary
#5E2F8A
accent
#3BED98
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78