#2B4F0D#2B4F0D
#2B4F0D is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.6% C 0.101 H 134.4°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4F0D |
|---|---|
| RGB | rgb(43, 79, 13) |
| HSL | hsl(93, 72%, 18%) |
| HSV | hsv(93, 84%, 31%) |
| CMYK | cmyk(45.6%, 0%, 83.5%, 69%) |
| CIE-LAB | lab(29.75, -25.26, 32.46) |
| CIE-LCH | lch(29.75, 41.13, 127.89°) |
| OKLab | oklab(38.59% -0.0708 0.0723) |
| OKLCH | oklch(38.59% 0.101 134.4) |
| XYZ | xyz(3.8648, 6.1344, 1.3611) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 2.53
Forrest Green
#154406
ΔE00 4.42
Bottle Green
#044A05
ΔE00 4.82
Forest
#0B5509
ΔE00 4.84
Darkgreen (survey)
#054907
ΔE00 4.94
Forest Green
#2D5A27
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4F0D #310D4F
analogous
#4C4F0D #2B4F0D #0D4F10
triadic
#2B4F0D #0D2B4F #4F0D2B
tetradic
#2B4F0D #0D4C4F #310D4F #4F100D
square
#2B4F0D #0D4C4F #310D4F #4F100D
split-complementary
#2B4F0D #100D4F #4F0D4C
monochromatic
#0E1A04 #0E1A04 #2B4F0D #488416 #64B81E
Accessibility & contrast
On white
9.43
#2B4F0D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#2B4F0D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4F0D
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4F0D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4F0D | 1.00 | 9.43 | 2.23 | 9.43 |
| #FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524801
Deuteranopia (green-blind)
#4E4514
Tritanopia (blue-blind)
#2A4C43
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2b4f0d; /* rgb */ color: rgb(43, 79, 13); /* oklch */ color: oklch(38.6% 0.101 134.4);
Tailwind
colors: {
custom: {
50: '#688051',
500: '#2b4f0d',
950: '#000000',
},
}SCSS
$custom: #2b4f0d; $custom-light: #688051; $custom-dark: #000000;
JSON
{
"hex": "#2b4f0d",
"rgb": {
"r": 43,
"g": 79,
"b": 13
},
"hsl": {
"h": 92.727,
"s": 71.739,
"l": 18.039
},
"oklch": {
"l": 0.38594,
"c": 0.10122,
"h": 134.4
},
"luminance": 0.06135
}Semantic roles & 50–950 ramp
primary
#2B4F0D
secondary
#602E8A
accent
#39EE9C
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78