#408B2E#408B2E
#408B2E is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.9% C 0.148 H 140.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #408B2E |
|---|---|
| RGB | rgb(64, 139, 46) |
| HSL | hsl(108, 50%, 36%) |
| HSV | hsv(108, 67%, 55%) |
| CMYK | cmyk(54%, 0%, 66.9%, 45.5%) |
| CIE-LAB | lab(51.56, -41.48, 41.34) |
| CIE-LCH | lch(51.56, 58.56, 135.09°) |
| OKLab | oklab(56.85% -0.1137 0.0954) |
| OKLCH | oklch(56.85% 0.148 140) |
| XYZ | xyz(11.8396, 19.7516, 5.7728) |
| Luminance | 0.1975 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.72
Fern Green
#548D44
ΔE00 3.88
Emerald Green
#028F1E
ΔE00 3.95
Irish Green
#019529
ΔE00 4.77
Kelley Green
#009337
ΔE00 4.91
True Green
#089404
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#408B2E #792E8B
analogous
#6F8B2E #408B2E #2E8B4B
triadic
#408B2E #2E408B #8B2E40
tetradic
#408B2E #2E6F8B #792E8B #8B4B2E
square
#408B2E #2E6F8B #792E8B #8B4B2E
split-complementary
#408B2E #4B2E8B #8B2E6F
monochromatic
#162F10 #2B5D1F #408B2E #55B93D #7ACD67
Accessibility & contrast
On white
4.24
#408B2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#408B2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #408B2E
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##408B2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##408B2E | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7F22
Deuteranopia (green-blind)
#857836
Tritanopia (blue-blind)
#388678
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #408b2e; /* rgb */ color: rgb(64, 139, 46); /* oklch */ color: oklch(56.9% 0.148 140.0);
Tailwind
colors: {
custom: {
50: '#7cad6b',
500: '#408b2e',
950: '#000000',
},
}SCSS
$custom: #408b2e; $custom-light: #7cad6b; $custom-dark: #000000;
JSON
{
"hex": "#408b2e",
"rgb": {
"r": 64,
"g": 139,
"b": 46
},
"hsl": {
"h": 108.387,
"s": 50.27,
"l": 36.275
},
"oklch": {
"l": 0.56851,
"c": 0.14848,
"h": 140
},
"luminance": 0.19752
}Semantic roles & 50–950 ramp
primary
#408B2E
secondary
#A461B3
accent
#4EDABF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A