#2A4F0F#2A4F0F
#2A4F0F is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.6% C 0.101 H 135.1°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4F0F |
|---|---|
| RGB | rgb(42, 79, 15) |
| HSL | hsl(95, 68%, 18%) |
| HSV | hsv(95, 81%, 31%) |
| CMYK | cmyk(46.8%, 0%, 81%, 69%) |
| CIE-LAB | lab(29.71, -25.50, 31.61) |
| CIE-LCH | lch(29.71, 40.62, 128.89°) |
| OKLab | oklab(38.55% -0.0712 0.0709) |
| OKLCH | oklch(38.55% 0.101 135.1) |
| XYZ | xyz(3.8370, 6.1185, 1.4307) |
| Luminance | 0.0612 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 2.90
Forrest Green
#154406
ΔE00 4.20
Bottle Green
#044A05
ΔE00 4.57
Forest
#0B5509
ΔE00 4.64
Darkgreen (survey)
#054907
ΔE00 4.66
Forest Green
#2D5A27
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4F0F #340F4F
analogous
#4A4F0F #2A4F0F #0F4F14
triadic
#2A4F0F #0F2A4F #4F0F2A
tetradic
#2A4F0F #0F4A4F #340F4F #4F140F
square
#2A4F0F #0F4A4F #340F4F #4F140F
split-complementary
#2A4F0F #140F4F #4F0F4A
monochromatic
#0E1A05 #0F1C05 #2A4F0F #458219 #61B623
Accessibility & contrast
On white
9.44
#2A4F0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2A4F0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4F0F
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4F0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4F0F | 1.00 | 9.44 | 2.22 | 9.44 |
| #FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524804
Deuteranopia (green-blind)
#4D4515
Tritanopia (blue-blind)
#294C43
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2a4f0f; /* rgb */ color: rgb(42, 79, 15); /* oklch */ color: oklch(38.6% 0.101 135.1);
Tailwind
colors: {
custom: {
50: '#688052',
500: '#2a4f0f',
950: '#000000',
},
}SCSS
$custom: #2a4f0f; $custom-light: #688052; $custom-dark: #000000;
JSON
{
"hex": "#2a4f0f",
"rgb": {
"r": 42,
"g": 79,
"b": 15
},
"hsl": {
"h": 94.688,
"s": 68.085,
"l": 18.431
},
"oklch": {
"l": 0.38552,
"c": 0.10052,
"h": 135.1
},
"luminance": 0.06119
}Semantic roles & 50–950 ramp
primary
#2A4F0F
secondary
#643189
accent
#3DEBA2
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78