#2D4E0D#2D4E0D
#2D4E0D is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.4% C 0.099 H 133.2°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4E0D |
|---|---|
| RGB | rgb(45, 78, 13) |
| HSL | hsl(90, 71%, 18%) |
| HSV | hsv(90, 83%, 31%) |
| CMYK | cmyk(42.3%, 0%, 83.3%, 69.4%) |
| CIE-LAB | lab(29.50, -23.98, 32.26) |
| CIE-LCH | lch(29.50, 40.20, 126.62°) |
| OKLab | oklab(38.42% -0.0675 0.0719) |
| OKLCH | oklch(38.42% 0.099 133.2) |
| XYZ | xyz(3.8792, 6.0355, 1.3413) |
| Luminance | 0.0604 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 2.38
Forrest Green
#154406
ΔE00 4.55
Dark Olive Green
#3C4D03
ΔE00 4.83
Bottle Green
#044A05
ΔE00 5.27
Darkgreen (survey)
#054907
ΔE00 5.35
Forest
#0B5509
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4E0D #2E0D4E
analogous
#4D4E0D #2D4E0D #0D4E0E
triadic
#2D4E0D #0D2D4E #4E0D2D
tetradic
#2D4E0D #0D4D4E #2E0D4E #4E0E0D
square
#2D4E0D #0D4D4E #2E0D4E #4E0E0D
split-complementary
#2D4E0D #0E0D4E #4E0D4D
monochromatic
#0F1A04 #0F1A04 #2D4E0D #4B8216 #6AB71E
Accessibility & contrast
On white
9.51
#2D4E0D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#2D4E0D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4E0D
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4E0D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4E0D | 1.00 | 9.51 | 2.21 | 9.51 |
| #FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524702
Deuteranopia (green-blind)
#4D4514
Tritanopia (blue-blind)
#2D4B42
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2d4e0d; /* rgb */ color: rgb(45, 78, 13); /* oklch */ color: oklch(38.4% 0.099 133.2);
Tailwind
colors: {
custom: {
50: '#6a8051',
500: '#2d4e0d',
950: '#000000',
},
}SCSS
$custom: #2d4e0d; $custom-light: #6a8051; $custom-dark: #000000;
JSON
{
"hex": "#2d4e0d",
"rgb": {
"r": 45,
"g": 78,
"b": 13
},
"hsl": {
"h": 90.462,
"s": 71.429,
"l": 17.843
},
"oklch": {
"l": 0.38422,
"c": 0.0986,
"h": 133.2
},
"luminance": 0.06036
}Semantic roles & 50–950 ramp
primary
#2D4E0D
secondary
#5C2E89
accent
#3AEE95
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78