#406D4E#406D4E
#406D4E is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.3% C 0.071 H 153.1°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #406D4E |
|---|---|
| RGB | rgb(64, 109, 78) |
| HSL | hsl(139, 26%, 34%) |
| HSV | hsv(139, 41%, 43%) |
| CMYK | cmyk(41.3%, 0%, 28.4%, 57.3%) |
| CIE-LAB | lab(42.12, -22.97, 12.56) |
| CIE-LCH | lch(42.12, 26.18, 151.33°) |
| OKLab | oklab(49.29% -0.063 0.032) |
| OKLCH | oklch(49.29% 0.071 153.1) |
| XYZ | xyz(8.9576, 12.5768, 9.1618) |
| Luminance | 0.1258 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 5.53
Pine
#2B5D34
ΔE00 6.85
Spruce
#0A5F38
ΔE00 7.72
Dark Green Blue
#1F6357
ΔE00 8.93
Forest Green
#2D5A27
ΔE00 9.25
Dark Sage
#598556
ΔE00 9.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#406D4E #6D405F
analogous
#496D40 #406D4E #406D65
triadic
#406D4E #4E406D #6D4E40
tetradic
#406D4E #40496D #6D405F #6D6540
square
#406D4E #40496D #6D405F #6D6540
split-complementary
#406D4E #65406D #6D4049
monochromatic
#132017 #294632 #406D4E #57946A #78B089
Accessibility & contrast
On white
5.97
#406D4E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#406D4E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #406D4E
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##406D4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##406D4E | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D664C
Deuteranopia (green-blind)
#666150
Tritanopia (blue-blind)
#386C65
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #406d4e; /* rgb */ color: rgb(64, 109, 78); /* oklch */ color: oklch(49.3% 0.071 153.1);
Tailwind
colors: {
custom: {
50: '#77977f',
500: '#406d4e',
950: '#000000',
},
}SCSS
$custom: #406d4e; $custom-light: #77977f; $custom-dark: #000000;
JSON
{
"hex": "#406d4e",
"rgb": {
"r": 64,
"g": 109,
"b": 78
},
"hsl": {
"h": 138.667,
"s": 26.012,
"l": 33.922
},
"oklch": {
"l": 0.49291,
"c": 0.07061,
"h": 153.1
},
"luminance": 0.12577
}Semantic roles & 50–950 ramp
primary
#406D4E
secondary
#9B6E8D
accent
#65A5C2
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#090D0A
muted
#7B7E7C