#406A2F#406A2F
#406A2F is a mid, moderate green. Relative luminance 0.116; OKLCH L 47.9% C 0.100 H 137.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #406A2F |
|---|---|
| RGB | rgb(64, 106, 47) |
| HSL | hsl(103, 39%, 30%) |
| HSV | hsv(103, 56%, 42%) |
| CMYK | cmyk(39.6%, 0%, 55.7%, 58.4%) |
| CIE-LAB | lab(40.58, -26.76, 28.31) |
| CIE-LCH | lch(40.58, 38.96, 133.40°) |
| OKLab | oklab(47.86% -0.0736 0.0675) |
| OKLCH | oklch(47.86% 0.1 137.5) |
| XYZ | xyz(7.7812, 11.6029, 4.5184) |
| Luminance | 0.1160 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkolivegreen
#556B2F
ΔE00 4.94
Forest Green
#2D5A27
ΔE00 5.86
Camo Green
#526525
ΔE00 5.95
Pine
#2B5D34
ΔE00 6.75
Camouflage Green
#4B6113
ΔE00 7.09
Hunter Green
#355E3B
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406A2F #592F6A
analogous
#5D6A2F #406A2F #2F6A3C
triadic
#406A2F #2F406A #6A2F40
tetradic
#406A2F #2F5D6A #592F6A #6A3C2F
square
#406A2F #2F5D6A #592F6A #6A3C2F
split-complementary
#406A2F #3C2F6A #6A2F5D
monochromatic
#0D1509 #26401C #406A2F #5A9442 #77B75C
Accessibility & contrast
On white
6.32
#406A2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#406A2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406A2F
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406A2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406A2F | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D622A
Deuteranopia (green-blind)
#675E33
Tritanopia (blue-blind)
#3E675D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #406a2f; /* rgb */ color: rgb(64, 106, 47); /* oklch */ color: oklch(47.9% 0.100 137.5);
Tailwind
colors: {
custom: {
50: '#789569',
500: '#406a2f',
950: '#000000',
},
}SCSS
$custom: #406a2f; $custom-light: #789569; $custom-dark: #000000;
JSON
{
"hex": "#406a2f",
"rgb": {
"r": 64,
"g": 106,
"b": 47
},
"hsl": {
"h": 102.712,
"s": 38.562,
"l": 30
},
"oklch": {
"l": 0.47861,
"c": 0.09989,
"h": 137.5
},
"luminance": 0.11603
}Semantic roles & 50–950 ramp
primary
#406A2F
secondary
#88599B
accent
#59CEAD
background
#F7F9F6
surface
#EDF1EB
border
#C8CBC6
text
#090D06
muted
#7B7E7A