#2D450F#2D450F
#2D450F is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.8% C 0.084 H 130.5°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2D450F |
|---|---|
| RGB | rgb(45, 69, 15) |
| HSL | hsl(87, 64%, 16%) |
| HSV | hsv(87, 78%, 27%) |
| CMYK | cmyk(34.8%, 0%, 78.3%, 72.9%) |
| CIE-LAB | lab(26.30, -19.26, 28.25) |
| CIE-LCH | lch(26.30, 34.19, 124.29°) |
| OKLab | oklab(35.81% -0.0545 0.0638) |
| OKLCH | oklch(35.81% 0.084 130.5) |
| XYZ | xyz(3.2965, 4.8485, 1.2140) |
| Luminance | 0.0485 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Forrest Green
#154406
ΔE00 4.57
Navy Green
#35530A
ΔE00 5.17
Dark Olive Green
#3C4D03
ΔE00 5.25
Hunter Green (survey)
#0B4008
ΔE00 5.78
Dark Olive
#373E02
ΔE00 6.00
Forest Green (survey)
#06470C
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D450F #270F45
analogous
#45420F #2D450F #12450F
triadic
#2D450F #0F2D45 #450F2D
tetradic
#2D450F #0F4542 #270F45 #450F12
square
#2D450F #0F4542 #270F45 #450F12
split-complementary
#2D450F #0F1245 #420F45
monochromatic
#101905 #101905 #2D450F #4E771A #6FAA25
Accessibility & contrast
On white
10.66
#2D450F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2D450F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D450F
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D450F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D450F | 1.00 | 10.66 | 1.97 | 10.66 |
| #FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#483F07
Deuteranopia (green-blind)
#453E14
Tritanopia (blue-blind)
#2E423A
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2d450f; /* rgb */ color: rgb(45, 69, 15); /* oklch */ color: oklch(35.8% 0.084 130.5);
Tailwind
colors: {
custom: {
50: '#687951',
500: '#2d450f',
950: '#000000',
},
}SCSS
$custom: #2d450f; $custom-light: #687951; $custom-dark: #000000;
JSON
{
"hex": "#2d450f",
"rgb": {
"r": 45,
"g": 69,
"b": 15
},
"hsl": {
"h": 86.667,
"s": 64.286,
"l": 16.471
},
"oklch": {
"l": 0.35813,
"c": 0.08394,
"h": 130.5
},
"luminance": 0.04849
}Semantic roles & 50–950 ramp
primary
#2D450F
secondary
#54307F
accent
#41E78B
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78