#2A4C0B#2A4C0B
#2A4C0B is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.6% C 0.099 H 133.8°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4C0B |
|---|---|
| RGB | rgb(42, 76, 11) |
| HSL | hsl(91, 75%, 17%) |
| HSV | hsv(91, 86%, 30%) |
| CMYK | cmyk(44.7%, 0%, 85.5%, 70.2%) |
| CIE-LAB | lab(28.60, -24.35, 32.10) |
| CIE-LCH | lch(28.60, 40.29, 127.18°) |
| OKLab | oklab(37.64% -0.0684 0.0712) |
| OKLCH | oklch(37.64% 0.099 133.8) |
| XYZ | xyz(3.5996, 5.6851, 1.2242) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 3.03
Forrest Green
#154406
ΔE00 3.87
Bottle Green
#044A05
ΔE00 4.81
Darkgreen (survey)
#054907
ΔE00 4.86
Racing Green
#014600
ΔE00 5.10
Dark Olive Green
#3C4D03
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4C0B #2D0B4C
analogous
#4B4C0B #2A4C0B #0B4C0D
triadic
#2A4C0B #0B2A4C #4C0B2A
tetradic
#2A4C0B #0B4B4C #2D0B4C #4C0D0B
square
#2A4C0B #0B4B4C #2D0B4C #4C0D0B
split-complementary
#2A4C0B #0D0B4C #4C0B4B
monochromatic
#0F1B04 #0F1B04 #2A4C0B #488113 #65B71A
Accessibility & contrast
On white
9.83
#2A4C0B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2A4C0B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4C0B
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4C0B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4C0B | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4500
Deuteranopia (green-blind)
#4B4212
Tritanopia (blue-blind)
#2A4940
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2a4c0b; /* rgb */ color: rgb(42, 76, 11); /* oklch */ color: oklch(37.6% 0.099 133.8);
Tailwind
colors: {
custom: {
50: '#677e50',
500: '#2a4c0b',
950: '#000000',
},
}SCSS
$custom: #2a4c0b; $custom-light: #677e50; $custom-dark: #000000;
JSON
{
"hex": "#2a4c0b",
"rgb": {
"r": 42,
"g": 76,
"b": 11
},
"hsl": {
"h": 91.385,
"s": 74.713,
"l": 17.059
},
"oklch": {
"l": 0.37637,
"c": 0.09878,
"h": 133.8
},
"luminance": 0.05685
}Semantic roles & 50–950 ramp
primary
#2A4C0B
secondary
#5C2B88
accent
#36F198
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78