#2A4F0E#2A4F0E
#2A4F0E is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.5% C 0.101 H 135.0°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4F0E |
|---|---|
| RGB | rgb(42, 79, 14) |
| HSL | hsl(94, 70%, 18%) |
| HSV | hsv(94, 82%, 31%) |
| CMYK | cmyk(46.8%, 0%, 82.3%, 69%) |
| CIE-LAB | lab(29.70, -25.58, 32.01) |
| CIE-LCH | lch(29.70, 40.97, 128.62°) |
| OKLab | oklab(38.54% -0.0715 0.0716) |
| OKLCH | oklch(38.54% 0.101 135) |
| XYZ | xyz(3.8300, 6.1157, 1.3940) |
| Luminance | 0.0612 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 2.80
Forrest Green
#154406
ΔE00 4.24
Bottle Green
#044A05
ΔE00 4.59
Forest
#0B5509
ΔE00 4.65
Darkgreen (survey)
#054907
ΔE00 4.70
Forest Green
#2D5A27
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4F0E #330E4F
analogous
#4A4F0E #2A4F0E #0E4F13
triadic
#2A4F0E #0E2A4F #4F0E2A
tetradic
#2A4F0E #0E4A4F #330E4F #4F130E
square
#2A4F0E #0E4A4F #330E4F #4F130E
split-complementary
#2A4F0E #130E4F #4F0E4A
monochromatic
#0E1A05 #0E1B05 #2A4F0E #468317 #61B720
Accessibility & contrast
On white
9.45
#2A4F0E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2A4F0E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4F0E
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4F0E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4F0E | 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)
#524803
Deuteranopia (green-blind)
#4D4515
Tritanopia (blue-blind)
#294C43
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2a4f0e; /* rgb */ color: rgb(42, 79, 14); /* oklch */ color: oklch(38.5% 0.101 135.0);
Tailwind
colors: {
custom: {
50: '#688052',
500: '#2a4f0e',
950: '#000000',
},
}SCSS
$custom: #2a4f0e; $custom-light: #688052; $custom-dark: #000000;
JSON
{
"hex": "#2a4f0e",
"rgb": {
"r": 42,
"g": 79,
"b": 14
},
"hsl": {
"h": 94.154,
"s": 69.892,
"l": 18.235
},
"oklch": {
"l": 0.38544,
"c": 0.10118,
"h": 135
},
"luminance": 0.06116
}Semantic roles & 50–950 ramp
primary
#2A4F0E
secondary
#632F8A
accent
#3BEDA0
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78