#2D4B0F#2D4B0F
#2D4B0F is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.6% C 0.093 H 132.6°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4B0F |
|---|---|
| RGB | rgb(45, 75, 15) |
| HSL | hsl(90, 67%, 18%) |
| HSV | hsv(90, 80%, 29%) |
| CMYK | cmyk(40%, 0%, 80%, 70.6%) |
| CIE-LAB | lab(28.44, -22.35, 30.41) |
| CIE-LCH | lch(28.44, 37.75, 126.31°) |
| OKLab | oklab(37.56% -0.0629 0.0683) |
| OKLCH | oklch(37.56% 0.093 132.6) |
| XYZ | xyz(3.6844, 5.6244, 1.3433) |
| Luminance | 0.0563 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 3.31
Forrest Green
#154406
ΔE00 4.18
Dark Olive Green
#3C4D03
ΔE00 4.88
Darkgreen (survey)
#054907
ΔE00 5.46
Bottle Green
#044A05
ΔE00 5.48
Forest Green (survey)
#06470C
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4B0F #2D0F4B
analogous
#4B4B0F #2D4B0F #0F4B0F
triadic
#2D4B0F #0F2D4B #4B0F2D
tetradic
#2D4B0F #0F4B4B #2D0F4B #4B0F0F
square
#2D4B0F #0F4B4B #2D0F4B #4B0F0F
split-complementary
#2D4B0F #0F0F4B #4B0F4B
monochromatic
#0F1A05 #0F1A05 #2D4B0F #4C7E19 #6AB123
Accessibility & contrast
On white
9.88
#2D4B0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#2D4B0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4B0F
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4B0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4B0F | 1.00 | 9.88 | 2.13 | 9.88 |
| #FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4505
Deuteranopia (green-blind)
#4A4215
Tritanopia (blue-blind)
#2D483F
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2d4b0f; /* rgb */ color: rgb(45, 75, 15); /* oklch */ color: oklch(37.6% 0.093 132.6);
Tailwind
colors: {
custom: {
50: '#697d52',
500: '#2d4b0f',
950: '#000000',
},
}SCSS
$custom: #2d4b0f; $custom-light: #697d52; $custom-dark: #000000;
JSON
{
"hex": "#2d4b0f",
"rgb": {
"r": 45,
"g": 75,
"b": 15
},
"hsl": {
"h": 90,
"s": 66.667,
"l": 17.647
},
"oklch": {
"l": 0.37562,
"c": 0.09291,
"h": 132.6
},
"luminance": 0.05625
}Semantic roles & 50–950 ramp
primary
#2D4B0F
secondary
#5B3085
accent
#3EEA94
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78