#408D2E#408D2E
#408D2E is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.4% C 0.151 H 140.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #408D2E |
|---|---|
| RGB | rgb(64, 141, 46) |
| HSL | hsl(109, 51%, 37%) |
| HSV | hsv(109, 67%, 55%) |
| CMYK | cmyk(54.6%, 0%, 67.4%, 44.7%) |
| CIE-LAB | lab(52.22, -42.28, 42.06) |
| CIE-LCH | lch(52.22, 59.64, 135.15°) |
| OKLab | oklab(57.4% -0.1159 0.097) |
| OKLCH | oklch(57.4% 0.151 140.1) |
| XYZ | xyz(12.1319, 20.3360, 5.8702) |
| Luminance | 0.2034 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.80
Emerald Green
#028F1E
ΔE00 3.75
Fern Green
#548D44
ΔE00 3.91
Irish Green
#019529
ΔE00 4.31
Kelley Green
#009337
ΔE00 4.63
True Green
#089404
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#408D2E #7B2E8D
analogous
#708D2E #408D2E #2E8D4C
triadic
#408D2E #2E408D #8D2E40
tetradic
#408D2E #2E708D #7B2E8D #8D4C2E
square
#408D2E #2E708D #7B2E8D #8D4C2E
split-complementary
#408D2E #4C2E8D #8D2E70
monochromatic
#163110 #2B5F1F #408D2E #55BB3D #7BCE68
Accessibility & contrast
On white
4.14
#408D2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#408D2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #408D2E
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##408D2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##408D2E | 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)
#918122
Deuteranopia (green-blind)
#877A36
Tritanopia (blue-blind)
#388879
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #408d2e; /* rgb */ color: rgb(64, 141, 46); /* oklch */ color: oklch(57.4% 0.151 140.1);
Tailwind
colors: {
custom: {
50: '#7daf6b',
500: '#408d2e',
950: '#000000',
},
}SCSS
$custom: #408d2e; $custom-light: #7daf6b; $custom-dark: #000000;
JSON
{
"hex": "#408d2e",
"rgb": {
"r": 64,
"g": 141,
"b": 46
},
"hsl": {
"h": 108.632,
"s": 50.802,
"l": 36.667
},
"oklch": {
"l": 0.57395,
"c": 0.15113,
"h": 140.1
},
"luminance": 0.20337
}Semantic roles & 50–950 ramp
primary
#408D2E
secondary
#A562B5
accent
#4EDAC0
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A