#2B450C#2B450C
#2B450C is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.6% C 0.087 H 131.3°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2B450C |
|---|---|
| RGB | rgb(43, 69, 12) |
| HSL | hsl(87, 70%, 16%) |
| HSV | hsv(87, 83%, 27%) |
| CMYK | cmyk(37.7%, 0%, 82.6%, 72.9%) |
| CIE-LAB | lab(26.15, -20.37, 29.36) |
| CIE-LCH | lch(26.15, 35.73, 124.75°) |
| OKLab | oklab(35.65% -0.0577 0.0657) |
| OKLCH | oklch(35.65% 0.087 131.3) |
| XYZ | xyz(3.1907, 4.7963, 1.1054) |
| Luminance | 0.0480 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Forrest Green
#154406
ΔE00 4.11
Navy Green
#35530A
ΔE00 4.96
Dark Olive Green
#3C4D03
ΔE00 5.24
Hunter Green (survey)
#0B4008
ΔE00 5.43
Forest Green (survey)
#06470C
ΔE00 6.03
Racing Green
#014600
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B450C #260C45
analogous
#45420C #2B450C #0F450C
triadic
#2B450C #0C2B45 #450C2B
tetradic
#2B450C #0C4542 #260C45 #450C0F
square
#2B450C #0C4542 #260C45 #450C0F
split-complementary
#2B450C #0C0F45 #420C45
monochromatic
#101A05 #101A05 #2B450C #4B7915 #6CAD1E
Accessibility & contrast
On white
10.72
#2B450C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2B450C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B450C
10.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B450C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B450C | 1.00 | 10.72 | 1.96 | 10.72 |
| #FFFFFF | 10.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#483F03
Deuteranopia (green-blind)
#453D12
Tritanopia (blue-blind)
#2C423A
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2b450c; /* rgb */ color: rgb(43, 69, 12); /* oklch */ color: oklch(35.6% 0.087 131.3);
Tailwind
colors: {
custom: {
50: '#67794f',
500: '#2b450c',
950: '#000000',
},
}SCSS
$custom: #2b450c; $custom-light: #67794f; $custom-dark: #000000;
JSON
{
"hex": "#2b450c",
"rgb": {
"r": 43,
"g": 69,
"b": 12
},
"hsl": {
"h": 87.368,
"s": 70.37,
"l": 15.882
},
"oklch": {
"l": 0.35647,
"c": 0.08739,
"h": 131.3
},
"luminance": 0.04796
}Semantic roles & 50–950 ramp
primary
#2B450C
secondary
#532C81
accent
#3BED8C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78