#408D2F#408D2F
#408D2F is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.4% C 0.150 H 140.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #408D2F |
|---|---|
| RGB | rgb(64, 141, 47) |
| HSL | hsl(109, 50%, 37%) |
| HSV | hsv(109, 67%, 55%) |
| CMYK | cmyk(54.6%, 0%, 66.7%, 44.7%) |
| CIE-LAB | lab(52.22, -42.18, 41.63) |
| CIE-LCH | lch(52.22, 59.26, 135.38°) |
| OKLab | oklab(57.4% -0.1156 0.0962) |
| OKLCH | oklch(57.4% 0.15 140.2) |
| XYZ | xyz(12.1518, 20.3440, 5.9752) |
| Luminance | 0.2034 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.82
Emerald Green
#028F1E
ΔE00 3.78
Fern Green
#548D44
ΔE00 3.81
Irish Green
#019529
ΔE00 4.31
Kelley Green
#009337
ΔE00 4.56
True Green
#089404
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#408D2F #7C2F8D
analogous
#6F8D2F #408D2F #2F8D4D
triadic
#408D2F #2F408D #8D2F40
tetradic
#408D2F #2F6F8D #7C2F8D #8D4D2F
square
#408D2F #2F6F8D #7C2F8D #8D4D2F
split-complementary
#408D2F #4D2F8D #8D2F6F
monochromatic
#163110 #2B5F20 #408D2F #55BB3E #7BCD69
Accessibility & contrast
On white
4.14
#408D2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#408D2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #408D2F
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##408D2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##408D2F | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918123
Deuteranopia (green-blind)
#877A37
Tritanopia (blue-blind)
#37887A
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #408d2f; /* rgb */ color: rgb(64, 141, 47); /* oklch */ color: oklch(57.4% 0.150 140.2);
Tailwind
colors: {
custom: {
50: '#7daf6c',
500: '#408d2f',
950: '#000000',
},
}SCSS
$custom: #408d2f; $custom-light: #7daf6c; $custom-dark: #000000;
JSON
{
"hex": "#408d2f",
"rgb": {
"r": 64,
"g": 141,
"b": 47
},
"hsl": {
"h": 109.149,
"s": 50,
"l": 36.863
},
"oklch": {
"l": 0.57405,
"c": 0.15036,
"h": 140.2
},
"luminance": 0.20345
}Semantic roles & 50–950 ramp
primary
#408D2F
secondary
#A664B4
accent
#4EDAC0
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A1007
muted
#7C7F7A