#2A4D0B#2A4D0B
#2A4D0B is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 37.9% C 0.100 H 134.1°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4D0B |
|---|---|
| RGB | rgb(42, 77, 11) |
| HSL | hsl(92, 75%, 17%) |
| HSV | hsv(92, 86%, 30%) |
| CMYK | cmyk(45.5%, 0%, 85.7%, 69.8%) |
| CIE-LAB | lab(28.96, -24.83, 32.44) |
| CIE-LCH | lch(28.96, 40.85, 127.43°) |
| OKLab | oklab(37.93% -0.0697 0.072) |
| OKLCH | oklch(37.93% 0.1 134.1) |
| XYZ | xyz(3.6691, 5.8240, 1.2474) |
| Luminance | 0.0582 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 2.83
Forrest Green
#154406
ΔE00 4.02
Bottle Green
#044A05
ΔE00 4.74
Darkgreen (survey)
#054907
ΔE00 4.82
Racing Green
#014600
ΔE00 5.11
Forest
#0B5509
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4D0B #2E0B4D
analogous
#4B4D0B #2A4D0B #0B4D0D
triadic
#2A4D0B #0B2A4D #4D0B2A
tetradic
#2A4D0B #0B4B4D #2E0B4D #4D0D0B
square
#2A4D0B #0B4B4D #2E0B4D #4D0D0B
split-complementary
#2A4D0B #0D0B4D #4D0B4B
monochromatic
#0F1B04 #0F1B04 #2A4D0B #478313 #64B81A
Accessibility & contrast
On white
9.70
#2A4D0B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#2A4D0B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4D0B
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4D0B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4D0B | 1.00 | 9.70 | 2.16 | 9.70 |
| #FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504600
Deuteranopia (green-blind)
#4C4312
Tritanopia (blue-blind)
#2A4A41
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2a4d0b; /* rgb */ color: rgb(42, 77, 11); /* oklch */ color: oklch(37.9% 0.100 134.1);
Tailwind
colors: {
custom: {
50: '#687f50',
500: '#2a4d0b',
950: '#000000',
},
}SCSS
$custom: #2a4d0b; $custom-light: #687f50; $custom-dark: #000000;
JSON
{
"hex": "#2a4d0b",
"rgb": {
"r": 42,
"g": 77,
"b": 11
},
"hsl": {
"h": 91.818,
"s": 75,
"l": 17.255
},
"oklch": {
"l": 0.37933,
"c": 0.10019,
"h": 134.1
},
"luminance": 0.05824
}Semantic roles & 50–950 ramp
primary
#2A4D0B
secondary
#5D2B89
accent
#36F29A
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78