#2B4D0C#2B4D0C
#2B4D0C is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 38.0% C 0.099 H 133.8°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2B4D0C |
|---|---|
| RGB | rgb(43, 77, 12) |
| HSL | hsl(91, 73%, 17%) |
| HSV | hsv(91, 84%, 30%) |
| CMYK | cmyk(44.2%, 0%, 84.4%, 69.8%) |
| CIE-LAB | lab(29.02, -24.37, 32.15) |
| CIE-LCH | lch(29.02, 40.34, 127.16°) |
| OKLab | oklab(38% -0.0685 0.0715) |
| OKLCH | oklch(38% 0.099 133.8) |
| XYZ | xyz(3.7164, 5.8477, 1.2807) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 2.77
Forrest Green
#154406
ΔE00 4.13
Bottle Green
#044A05
ΔE00 4.92
Darkgreen (survey)
#054907
ΔE00 4.99
Dark Olive Green
#3C4D03
ΔE00 5.10
Racing Green
#014600
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B4D0C #2E0C4D
analogous
#4B4D0C #2B4D0C #0C4D0E
triadic
#2B4D0C #0C2B4D #4D0C2B
tetradic
#2B4D0C #0C4B4D #2E0C4D #4D0E0C
square
#2B4D0C #0C4B4D #2E0C4D #4D0E0C
split-complementary
#2B4D0C #0E0C4D #4D0C4B
monochromatic
#0F1A04 #0F1A04 #2B4D0C #498214 #66B71D
Accessibility & contrast
On white
9.68
#2B4D0C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2B4D0C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B4D0C
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B4D0C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B4D0C | 1.00 | 9.68 | 2.17 | 9.68 |
| #FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504601
Deuteranopia (green-blind)
#4C4313
Tritanopia (blue-blind)
#2B4A41
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2b4d0c; /* rgb */ color: rgb(43, 77, 12); /* oklch */ color: oklch(38.0% 0.099 133.8);
Tailwind
colors: {
custom: {
50: '#687f51',
500: '#2b4d0c',
950: '#000000',
},
}SCSS
$custom: #2b4d0c; $custom-light: #687f51; $custom-dark: #000000;
JSON
{
"hex": "#2b4d0c",
"rgb": {
"r": 43,
"g": 77,
"b": 12
},
"hsl": {
"h": 91.385,
"s": 73.034,
"l": 17.451
},
"oklch": {
"l": 0.37999,
"c": 0.099,
"h": 133.8
},
"luminance": 0.05848
}Semantic roles & 50–950 ramp
primary
#2B4D0C
secondary
#5D2C89
accent
#38F098
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78