#2A4F18#2A4F18
#2A4F18 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.6% C 0.093 H 136.9°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2A4F18 |
|---|---|
| RGB | rgb(42, 79, 24) |
| HSL | hsl(100, 53%, 20%) |
| HSV | hsv(100, 70%, 31%) |
| CMYK | cmyk(46.8%, 0%, 69.6%, 69%) |
| CIE-LAB | lab(29.79, -24.67, 27.58) |
| CIE-LCH | lch(29.79, 37.00, 131.82°) |
| OKLab | oklab(38.64% -0.0682 0.0638) |
| OKLCH | oklch(38.64% 0.093 136.9) |
| XYZ | xyz(3.9156, 6.1499, 1.8447) |
| Luminance | 0.0615 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 4.00
Forrest Green
#154406
ΔE00 4.19
Navy Green
#35530A
ΔE00 4.24
Darkgreen (survey)
#054907
ΔE00 4.60
Bottle Green
#044A05
ΔE00 4.66
British Racing Green
#05480D
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A4F18 #3D184F
analogous
#454F18 #2A4F18 #184F22
triadic
#2A4F18 #182A4F #4F182A
tetradic
#2A4F18 #18454F #3D184F #4F2218
square
#2A4F18 #18454F #3D184F #4F2218
split-complementary
#2A4F18 #22184F #4F1845
monochromatic
#0C1707 #11200A #2A4F18 #437E26 #5CAD35
Accessibility & contrast
On white
9.42
#2A4F18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#2A4F18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A4F18
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A4F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A4F18 | 1.00 | 9.42 | 2.23 | 9.42 |
| #FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524811
Deuteranopia (green-blind)
#4D451C
Tritanopia (blue-blind)
#284C43
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2a4f18; /* rgb */ color: rgb(42, 79, 24); /* oklch */ color: oklch(38.6% 0.093 136.9);
Tailwind
colors: {
custom: {
50: '#678058',
500: '#2a4f18',
950: '#000000',
},
}SCSS
$custom: #2a4f18; $custom-light: #678058; $custom-dark: #000000;
JSON
{
"hex": "#2a4f18",
"rgb": {
"r": 42,
"g": 79,
"b": 24
},
"hsl": {
"h": 100.364,
"s": 53.398,
"l": 20.196
},
"oklch": {
"l": 0.38641,
"c": 0.09343,
"h": 136.9
},
"luminance": 0.0615
}Semantic roles & 50–950 ramp
primary
#2A4F18
secondary
#6E3D86
accent
#4BDDAD
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78