#408B2F#408B2F
#408B2F is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.9% C 0.148 H 140.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #408B2F |
|---|---|
| RGB | rgb(64, 139, 47) |
| HSL | hsl(109, 49%, 36%) |
| HSV | hsv(109, 66%, 55%) |
| CMYK | cmyk(54%, 0%, 66.2%, 45.5%) |
| CIE-LAB | lab(51.56, -41.37, 40.90) |
| CIE-LCH | lch(51.56, 58.18, 135.33°) |
| OKLab | oklab(56.86% -0.1134 0.0946) |
| OKLCH | oklch(56.86% 0.148 140.2) |
| XYZ | xyz(11.8596, 19.7595, 5.8778) |
| Luminance | 0.1976 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.76
Fern Green
#548D44
ΔE00 3.78
Emerald Green
#028F1E
ΔE00 3.99
Irish Green
#019529
ΔE00 4.78
Kelley Green
#009337
ΔE00 4.85
True Green
#089404
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#408B2F #7A2F8B
analogous
#6E8B2F #408B2F #2F8B4C
triadic
#408B2F #2F408B #8B2F40
tetradic
#408B2F #2F6E8B #7A2F8B #8B4C2F
square
#408B2F #2F6E8B #7A2F8B #8B4C2F
split-complementary
#408B2F #4C2F8B #8B2F6E
monochromatic
#163010 #2B5D20 #408B2F #55B93E #7BCC68
Accessibility & contrast
On white
4.24
#408B2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#408B2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #408B2F
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##408B2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##408B2F | 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)
#8F7F24
Deuteranopia (green-blind)
#857837
Tritanopia (blue-blind)
#388778
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #408b2f; /* rgb */ color: rgb(64, 139, 47); /* oklch */ color: oklch(56.9% 0.148 140.2);
Tailwind
colors: {
custom: {
50: '#7cad6c',
500: '#408b2f',
950: '#000000',
},
}SCSS
$custom: #408b2f; $custom-light: #7cad6c; $custom-dark: #000000;
JSON
{
"hex": "#408b2f",
"rgb": {
"r": 64,
"g": 139,
"b": 47
},
"hsl": {
"h": 108.913,
"s": 49.462,
"l": 36.471
},
"oklch": {
"l": 0.56862,
"c": 0.1477,
"h": 140.2
},
"luminance": 0.1976
}Semantic roles & 50–950 ramp
primary
#408B2F
secondary
#A463B3
accent
#4FD9BF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A