#2B4C0F#2B4C0F
#2B4C0F is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.7% C 0.096 H 133.9°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4C0F |
|---|---|
| RGB | rgb(43, 76, 15) |
| HSL | hsl(92, 67%, 18%) |
| HSV | hsv(92, 80%, 30%) |
| CMYK | cmyk(43.4%, 0%, 80.3%, 70.2%) |
| CIE-LAB | lab(28.69, -23.66, 30.62) |
| CIE-LCH | lch(28.69, 38.70, 127.70°) |
| OKLab | oklab(37.73% -0.0663 0.0688) |
| OKLCH | oklch(37.73% 0.096 133.9) |
| XYZ | xyz(3.6669, 5.7168, 1.3621) |
| Luminance | 0.0572 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 3.28
Forrest Green
#154406
ΔE00 3.87
Darkgreen (survey)
#054907
ΔE00 4.92
Bottle Green
#044A05
ΔE00 4.92
Forest Green (survey)
#06470C
ΔE00 5.19
Racing Green
#014600
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4C0F #300F4C
analogous
#494C0F #2B4C0F #0F4C11
triadic
#2B4C0F #0F2B4C #4C0F2B
tetradic
#2B4C0F #0F494C #300F4C #4C110F
square
#2B4C0F #0F494C #300F4C #4C110F
split-complementary
#2B4C0F #110F4C #4C0F49
monochromatic
#0E1A05 #0E1A05 #2B4C0F #487F19 #65B223
Accessibility & contrast
On white
9.80
#2B4C0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2B4C0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4C0F
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4C0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4C0F | 1.00 | 9.80 | 2.14 | 9.80 |
| #FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4505
Deuteranopia (green-blind)
#4B4315
Tritanopia (blue-blind)
#2B4940
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2b4c0f; /* rgb */ color: rgb(43, 76, 15); /* oklch */ color: oklch(37.7% 0.096 133.9);
Tailwind
colors: {
custom: {
50: '#687e52',
500: '#2b4c0f',
950: '#000000',
},
}SCSS
$custom: #2b4c0f; $custom-light: #687e52; $custom-dark: #000000;
JSON
{
"hex": "#2b4c0f",
"rgb": {
"r": 43,
"g": 76,
"b": 15
},
"hsl": {
"h": 92.459,
"s": 67.033,
"l": 17.843
},
"oklch": {
"l": 0.37729,
"c": 0.09559,
"h": 133.9
},
"luminance": 0.05717
}Semantic roles & 50–950 ramp
primary
#2B4C0F
secondary
#5F3186
accent
#3EEA9B
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78