#2A4C09#2A4C09
#2A4C09 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.6% C 0.100 H 133.6°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4C09 |
|---|---|
| RGB | rgb(42, 76, 9) |
| HSL | hsl(90, 79%, 17%) |
| HSV | hsv(90, 88%, 30%) |
| CMYK | cmyk(44.7%, 0%, 88.2%, 70.2%) |
| CIE-LAB | lab(28.59, -24.47, 32.80) |
| CIE-LCH | lch(28.59, 40.92, 126.72°) |
| OKLab | oklab(37.62% -0.0689 0.0724) |
| OKLCH | oklch(37.62% 0.1 133.6) |
| XYZ | xyz(3.5885, 5.6807, 1.1658) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 2.89
Forrest Green
#154406
ΔE00 3.98
Bottle Green
#044A05
ΔE00 4.89
Darkgreen (survey)
#054907
ΔE00 4.96
Dark Olive Green
#3C4D03
ΔE00 5.01
Racing Green
#014600
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4C09 #2B094C
analogous
#4C4C09 #2A4C09 #094C0A
triadic
#2A4C09 #092A4C #4C092A
tetradic
#2A4C09 #094C4C #2B094C #4C0A09
square
#2A4C09 #094C4C #2B094C #4C0A09
split-complementary
#2A4C09 #0A094C #4C094C
monochromatic
#0F1B03 #0F1B03 #2A4C09 #48830F #66B916
Accessibility & contrast
On white
9.83
#2A4C09 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2A4C09 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4C09
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4C09 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4C09 | 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: #2a4c09; /* rgb */ color: rgb(42, 76, 9); /* oklch */ color: oklch(37.6% 0.100 133.6);
Tailwind
colors: {
custom: {
50: '#677e4f',
500: '#2a4c09',
950: '#000000',
},
}SCSS
$custom: #2a4c09; $custom-light: #677e4f; $custom-dark: #000000;
JSON
{
"hex": "#2a4c09",
"rgb": {
"r": 42,
"g": 76,
"b": 9
},
"hsl": {
"h": 90.448,
"s": 78.824,
"l": 16.667
},
"oklch": {
"l": 0.37624,
"c": 0.09992,
"h": 133.6
},
"luminance": 0.05681
}Semantic roles & 50–950 ramp
primary
#2A4C09
secondary
#592889
accent
#33F595
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78