#406D2C#406D2C
#406D2C is a mid, moderate green. Relative luminance 0.122; OKLCH L 48.6% C 0.108 H 137.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #406D2C |
|---|---|
| RGB | rgb(64, 109, 44) |
| HSL | hsl(102, 42%, 30%) |
| HSV | hsv(102, 60%, 43%) |
| CMYK | cmyk(41.3%, 0%, 59.6%, 57.3%) |
| CIE-LAB | lab(41.55, -28.58, 31.03) |
| CIE-LCH | lch(41.55, 42.18, 132.65°) |
| OKLab | oklab(48.64% -0.0788 0.0732) |
| OKLCH | oklch(48.64% 0.108 137.1) |
| XYZ | xyz(8.0374, 12.2087, 4.3154) |
| Luminance | 0.1221 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkolivegreen
#556B2F
ΔE00 4.98
Camo Green
#526525
ΔE00 6.14
Darkish Green
#287C37
ΔE00 6.53
Forest Green
#2D5A27
ΔE00 7.02
Camouflage Green
#4B6113
ΔE00 7.11
Darkgreen
#006400
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406D2C #592C6D
analogous
#616D2C #406D2C #2C6D38
triadic
#406D2C #2C406D #6D2C40
tetradic
#406D2C #2C616D #592C6D #6D382C
square
#406D2C #2C616D #592C6D #6D382C
split-complementary
#406D2C #382C6D #6D2C61
monochromatic
#0D1609 #26411A #406D2C #5A993E #77BC58
Accessibility & contrast
On white
6.10
#406D2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#406D2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406D2C
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406D2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406D2C | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716426
Deuteranopia (green-blind)
#6A6131
Tritanopia (blue-blind)
#3E695F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #406d2c; /* rgb */ color: rgb(64, 109, 44); /* oklch */ color: oklch(48.6% 0.108 137.1);
Tailwind
colors: {
custom: {
50: '#789767',
500: '#406d2c',
950: '#000000',
},
}SCSS
$custom: #406d2c; $custom-light: #789767; $custom-dark: #000000;
JSON
{
"hex": "#406d2c",
"rgb": {
"r": 64,
"g": 109,
"b": 44
},
"hsl": {
"h": 101.538,
"s": 42.484,
"l": 30
},
"oklch": {
"l": 0.48638,
"c": 0.10755,
"h": 137.1
},
"luminance": 0.12209
}Semantic roles & 50–950 ramp
primary
#406D2C
secondary
#88569F
accent
#56D2AC
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090D06
muted
#7B7E7A