#2A4C0A#2A4C0A
#2A4C0A is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.6% C 0.099 H 133.7°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4C0A |
|---|---|
| RGB | rgb(42, 76, 10) |
| HSL | hsl(91, 77%, 17%) |
| HSV | hsv(91, 87%, 30%) |
| CMYK | cmyk(44.7%, 0%, 86.8%, 70.2%) |
| CIE-LAB | lab(28.60, -24.41, 32.45) |
| CIE-LCH | lch(28.60, 40.61, 126.95°) |
| OKLab | oklab(37.63% -0.0687 0.0718) |
| OKLCH | oklch(37.63% 0.099 133.7) |
| XYZ | xyz(3.5940, 5.6829, 1.1946) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 2.96
Forrest Green
#154406
ΔE00 3.93
Bottle Green
#044A05
ΔE00 4.85
Darkgreen (survey)
#054907
ΔE00 4.91
Dark Olive Green
#3C4D03
ΔE00 5.09
Racing Green
#014600
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4C0A #2C0A4C
analogous
#4B4C0A #2A4C0A #0A4C0B
triadic
#2A4C0A #0A2A4C #4C0A2A
tetradic
#2A4C0A #0A4B4C #2C0A4C #4C0B0A
square
#2A4C0A #0A4B4C #2C0A4C #4C0B0A
split-complementary
#2A4C0A #0B0A4C #4C0A4B
monochromatic
#0F1B04 #0F1B04 #2A4C0A #488211 #66B818
Accessibility & contrast
On white
9.83
#2A4C0A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2A4C0A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4C0A
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4C0A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4C0A | 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)
#4B4211
Tritanopia (blue-blind)
#2A4940
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2a4c0a; /* rgb */ color: rgb(42, 76, 10); /* oklch */ color: oklch(37.6% 0.099 133.7);
Tailwind
colors: {
custom: {
50: '#677e50',
500: '#2a4c0a',
950: '#000000',
},
}SCSS
$custom: #2a4c0a; $custom-light: #677e50; $custom-dark: #000000;
JSON
{
"hex": "#2a4c0a",
"rgb": {
"r": 42,
"g": 76,
"b": 10
},
"hsl": {
"h": 90.909,
"s": 76.744,
"l": 16.863
},
"oklch": {
"l": 0.37631,
"c": 0.09936,
"h": 133.7
},
"luminance": 0.05683
}Semantic roles & 50–950 ramp
primary
#2A4C0A
secondary
#5A2989
accent
#35F397
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78