#2A4D0E#2A4D0E
#2A4D0E is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 38.0% C 0.098 H 134.5°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4D0E |
|---|---|
| RGB | rgb(42, 77, 14) |
| HSL | hsl(93, 69%, 18%) |
| HSV | hsv(93, 82%, 30%) |
| CMYK | cmyk(45.5%, 0%, 81.8%, 69.8%) |
| CIE-LAB | lab(28.98, -24.62, 31.31) |
| CIE-LCH | lch(28.98, 39.83, 128.19°) |
| OKLab | oklab(37.96% -0.0689 0.0701) |
| OKLCH | oklch(37.96% 0.098 134.5) |
| XYZ | xyz(3.6879, 5.8315, 1.3467) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 3.10
Forrest Green
#154406
ΔE00 3.88
Bottle Green
#044A05
ΔE00 4.65
Darkgreen (survey)
#054907
ΔE00 4.69
Racing Green
#014600
ΔE00 5.05
Forest Green (survey)
#06470C
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4D0E #310E4D
analogous
#494D0E #2A4D0E #0E4D11
triadic
#2A4D0E #0E2A4D #4D0E2A
tetradic
#2A4D0E #0E494D #310E4D #4D110E
square
#2A4D0E #0E494D #310E4D #4D110E
split-complementary
#2A4D0E #110E4D #4D0E49
monochromatic
#0E1A05 #0E1A05 #2A4D0E #468117 #62B521
Accessibility & contrast
On white
9.69
#2A4D0E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2A4D0E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4D0E
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4D0E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4D0E | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504603
Deuteranopia (green-blind)
#4C4314
Tritanopia (blue-blind)
#294A41
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2a4d0e; /* rgb */ color: rgb(42, 77, 14); /* oklch */ color: oklch(38.0% 0.098 134.5);
Tailwind
colors: {
custom: {
50: '#677f52',
500: '#2a4d0e',
950: '#000000',
},
}SCSS
$custom: #2a4d0e; $custom-light: #677f52; $custom-dark: #000000;
JSON
{
"hex": "#2a4d0e",
"rgb": {
"r": 42,
"g": 77,
"b": 14
},
"hsl": {
"h": 93.333,
"s": 69.231,
"l": 17.843
},
"oklch": {
"l": 0.37955,
"c": 0.09832,
"h": 134.5
},
"luminance": 0.05832
}Semantic roles & 50–950 ramp
primary
#2A4D0E
secondary
#602F88
accent
#3CEC9E
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78