#408E2F#408E2F
#408E2F is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.7% C 0.152 H 140.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #408E2F |
|---|---|
| RGB | rgb(64, 142, 47) |
| HSL | hsl(109, 50%, 37%) |
| HSV | hsv(109, 67%, 56%) |
| CMYK | cmyk(54.9%, 0%, 66.9%, 44.3%) |
| CIE-LAB | lab(52.55, -42.58, 41.98) |
| CIE-LCH | lch(52.55, 59.80, 135.41°) |
| OKLab | oklab(57.68% -0.1167 0.0969) |
| OKLCH | oklch(57.68% 0.152 140.3) |
| XYZ | xyz(12.2999, 20.6402, 6.0246) |
| Luminance | 0.2064 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.92
Emerald Green
#028F1E
ΔE00 3.72
Fern Green
#548D44
ΔE00 3.87
Irish Green
#019529
ΔE00 4.10
Kelley Green
#009337
ΔE00 4.46
True Green
#089404
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#408E2F #7D2F8E
analogous
#708E2F #408E2F #2F8E4D
triadic
#408E2F #2F408E #8E2F40
tetradic
#408E2F #2F708E #7D2F8E #8E4D2F
square
#408E2F #2F708E #7D2F8E #8E4D2F
split-complementary
#408E2F #4D2F8E #8E2F70
monochromatic
#173211 #2B6020 #408E2F #55BC3E #7CCE6A
Accessibility & contrast
On white
4.10
#408E2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#408E2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #408E2F
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##408E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##408E2F | 1.00 | 4.10 | 5.13 | 5.13 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928223
Deuteranopia (green-blind)
#887B37
Tritanopia (blue-blind)
#37897A
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #408e2f; /* rgb */ color: rgb(64, 142, 47); /* oklch */ color: oklch(57.7% 0.152 140.3);
Tailwind
colors: {
custom: {
50: '#7db06c',
500: '#408e2f',
950: '#000000',
},
}SCSS
$custom: #408e2f; $custom-light: #7db06c; $custom-dark: #000000;
JSON
{
"hex": "#408e2f",
"rgb": {
"r": 64,
"g": 142,
"b": 47
},
"hsl": {
"h": 109.263,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.57676,
"c": 0.15168,
"h": 140.3
},
"luminance": 0.20641
}Semantic roles & 50–950 ramp
primary
#408E2F
secondary
#A664B5
accent
#4EDAC1
background
#F8FAF6
surface
#EFF5EC
border
#CACFC7
text
#0A1007
muted
#7C7F7A