#2A4F10#2A4F10
#2A4F10 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.6% C 0.100 H 135.3°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4F10 |
|---|---|
| RGB | rgb(42, 79, 16) |
| HSL | hsl(95, 66%, 19%) |
| HSV | hsv(95, 80%, 31%) |
| CMYK | cmyk(46.8%, 0%, 79.7%, 69%) |
| CIE-LAB | lab(29.72, -25.42, 31.21) |
| CIE-LCH | lch(29.72, 40.25, 129.17°) |
| OKLab | oklab(38.56% -0.0709 0.0702) |
| OKLCH | oklch(38.56% 0.1 135.3) |
| XYZ | xyz(3.8443, 6.1214, 1.4691) |
| Luminance | 0.0612 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 3.02
Forrest Green
#154406
ΔE00 4.17
Bottle Green
#044A05
ΔE00 4.54
Darkgreen (survey)
#054907
ΔE00 4.62
Forest
#0B5509
ΔE00 4.65
Forest Green
#2D5A27
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4F10 #35104F
analogous
#494F10 #2A4F10 #104F15
triadic
#2A4F10 #102A4F #4F102A
tetradic
#2A4F10 #10494F #35104F #4F1510
square
#2A4F10 #10494F #35104F #4F1510
split-complementary
#2A4F10 #15104F #4F1049
monochromatic
#0E1905 #0F1C06 #2A4F10 #45821A #60B525
Accessibility & contrast
On white
9.44
#2A4F10 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2A4F10 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4F10
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4F10 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4F10 | 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)
#524805
Deuteranopia (green-blind)
#4D4516
Tritanopia (blue-blind)
#294C43
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2a4f10; /* rgb */ color: rgb(42, 79, 16); /* oklch */ color: oklch(38.6% 0.100 135.3);
Tailwind
colors: {
custom: {
50: '#678053',
500: '#2a4f10',
950: '#000000',
},
}SCSS
$custom: #2a4f10; $custom-light: #678053; $custom-dark: #000000;
JSON
{
"hex": "#2a4f10",
"rgb": {
"r": 42,
"g": 79,
"b": 16
},
"hsl": {
"h": 95.238,
"s": 66.316,
"l": 18.627
},
"oklch": {
"l": 0.3856,
"c": 0.09984,
"h": 135.3
},
"luminance": 0.06122
}Semantic roles & 50–950 ramp
primary
#2A4F10
secondary
#653289
accent
#3FE9A3
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78