#406F2C#406F2C
#406F2C is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.2% C 0.111 H 137.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #406F2C |
|---|---|
| RGB | rgb(64, 111, 44) |
| HSL | hsl(102, 43%, 30%) |
| HSV | hsv(102, 60%, 44%) |
| CMYK | cmyk(42.3%, 0%, 60.4%, 56.5%) |
| CIE-LAB | lab(42.22, -29.52, 31.81) |
| CIE-LCH | lch(42.22, 43.40, 132.87°) |
| OKLab | oklab(49.19% -0.0814 0.0749) |
| OKLCH | oklch(49.19% 0.111 137.4) |
| XYZ | xyz(8.2532, 12.6403, 4.3873) |
| Luminance | 0.1264 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkolivegreen
#556B2F
ΔE00 5.25
Darkish Green
#287C37
ΔE00 5.97
Camo Green
#526525
ΔE00 6.54
Tree Green
#2A7E19
ΔE00 6.85
Darkgreen
#006400
ΔE00 7.41
Camouflage Green
#4B6113
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406F2C #5B2C6F
analogous
#616F2C #406F2C #2C6F3A
triadic
#406F2C #2C406F #6F2C40
tetradic
#406F2C #2C616F #5B2C6F #6F3A2C
square
#406F2C #2C616F #5B2C6F #6F3A2C
split-complementary
#406F2C #3A2C6F #6F2C61
monochromatic
#0D1709 #27431B #406F2C #599B3D #76BD58
Accessibility & contrast
On white
5.95
#406F2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#406F2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406F2C
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406F2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406F2C | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736625
Deuteranopia (green-blind)
#6C6231
Tritanopia (blue-blind)
#3E6B60
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #406f2c; /* rgb */ color: rgb(64, 111, 44); /* oklch */ color: oklch(49.2% 0.111 137.4);
Tailwind
colors: {
custom: {
50: '#789967',
500: '#406f2c',
950: '#000000',
},
}SCSS
$custom: #406f2c; $custom-light: #789967; $custom-dark: #000000;
JSON
{
"hex": "#406f2c",
"rgb": {
"r": 64,
"g": 111,
"b": 44
},
"hsl": {
"h": 102.09,
"s": 43.226,
"l": 30.392
},
"oklch": {
"l": 0.49185,
"c": 0.11057,
"h": 137.4
},
"luminance": 0.12641
}Semantic roles & 50–950 ramp
primary
#406F2C
secondary
#8A56A1
accent
#55D3AD
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E06
muted
#7B7E7A