#2A4F0D#2A4F0D
#2A4F0D is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.5% C 0.102 H 134.8°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4F0D |
|---|---|
| RGB | rgb(42, 79, 13) |
| HSL | hsl(94, 72%, 18%) |
| HSV | hsv(94, 84%, 31%) |
| CMYK | cmyk(46.8%, 0%, 83.5%, 69%) |
| CIE-LAB | lab(29.70, -25.64, 32.39) |
| CIE-LCH | lch(29.70, 41.31, 128.37°) |
| OKLab | oklab(38.54% -0.0718 0.0722) |
| OKLCH | oklch(38.54% 0.102 134.8) |
| XYZ | xyz(3.8234, 6.1130, 1.3592) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 2.70
Forrest Green
#154406
ΔE00 4.28
Bottle Green
#044A05
ΔE00 4.63
Forest
#0B5509
ΔE00 4.66
Darkgreen (survey)
#054907
ΔE00 4.74
Racing Green
#014600
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4F0D #320D4F
analogous
#4B4F0D #2A4F0D #0D4F11
triadic
#2A4F0D #0D2A4F #4F0D2A
tetradic
#2A4F0D #0D4B4F #320D4F #4F110D
square
#2A4F0D #0D4B4F #320D4F #4F110D
split-complementary
#2A4F0D #110D4F #4F0D4B
monochromatic
#0E1A04 #0E1A04 #2A4F0D #468416 #62B81E
Accessibility & contrast
On white
9.45
#2A4F0D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2A4F0D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4F0D
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4F0D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4F0D | 1.00 | 9.45 | 2.22 | 9.45 |
| #FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524801
Deuteranopia (green-blind)
#4D4514
Tritanopia (blue-blind)
#294C43
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2a4f0d; /* rgb */ color: rgb(42, 79, 13); /* oklch */ color: oklch(38.5% 0.102 134.8);
Tailwind
colors: {
custom: {
50: '#688051',
500: '#2a4f0d',
950: '#000000',
},
}SCSS
$custom: #2a4f0d; $custom-light: #688051; $custom-dark: #000000;
JSON
{
"hex": "#2a4f0d",
"rgb": {
"r": 42,
"g": 79,
"b": 13
},
"hsl": {
"h": 93.636,
"s": 71.739,
"l": 18.039
},
"oklch": {
"l": 0.38536,
"c": 0.10181,
"h": 134.8
},
"luminance": 0.06113
}Semantic roles & 50–950 ramp
primary
#2A4F0D
secondary
#612E8A
accent
#39EE9F
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78