#2B4A0B#2B4A0B
#2B4A0B is a dark, moderate yellow-green. Relative luminance 0.054; OKLCH L 37.1% C 0.095 H 132.8°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4A0B |
|---|---|
| RGB | rgb(43, 74, 11) |
| HSL | hsl(90, 74%, 17%) |
| HSV | hsv(90, 85%, 29%) |
| CMYK | cmyk(41.9%, 0%, 85.1%, 71%) |
| CIE-LAB | lab(27.94, -22.97, 31.49) |
| CIE-LCH | lch(27.94, 38.97, 126.10°) |
| OKLab | oklab(37.11% -0.0648 0.0699) |
| OKLCH | oklch(37.11% 0.095 132.8) |
| XYZ | xyz(3.5054, 5.4352, 1.1809) |
| Luminance | 0.0544 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 3.39
Forrest Green
#154406
ΔE00 3.89
Dark Olive Green
#3C4D03
ΔE00 4.88
Darkgreen (survey)
#054907
ΔE00 5.24
Bottle Green
#044A05
ΔE00 5.25
Racing Green
#014600
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4A0B #2A0B4A
analogous
#4A4A0B #2B4A0B #0B4A0B
triadic
#2B4A0B #0B2B4A #4A0B2B
tetradic
#2B4A0B #0B4A4A #2A0B4A #4A0B0B
square
#2B4A0B #0B4A4A #2A0B4A #4A0B0B
split-complementary
#2B4A0B #0B0B4A #4A0B4A
monochromatic
#0F1B04 #0F1B04 #2B4A0B #4A7F13 #69B51B
Accessibility & contrast
On white
10.06
#2B4A0B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#2B4A0B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4A0B
10.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4A0B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4A0B | 1.00 | 10.06 | 2.09 | 10.06 |
| #FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4300
Deuteranopia (green-blind)
#494112
Tritanopia (blue-blind)
#2B473E
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2b4a0b; /* rgb */ color: rgb(43, 74, 11); /* oklch */ color: oklch(37.1% 0.095 132.8);
Tailwind
colors: {
custom: {
50: '#687d50',
500: '#2b4a0b',
950: '#000000',
},
}SCSS
$custom: #2b4a0b; $custom-light: #687d50; $custom-dark: #000000;
JSON
{
"hex": "#2b4a0b",
"rgb": {
"r": 43,
"g": 74,
"b": 11
},
"hsl": {
"h": 89.524,
"s": 74.118,
"l": 16.667
},
"oklch": {
"l": 0.3711,
"c": 0.09533,
"h": 132.8
},
"luminance": 0.05435
}Semantic roles & 50–950 ramp
primary
#2B4A0B
secondary
#582B86
accent
#37F192
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78