#408C2E#408C2E
#408C2E is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.1% C 0.150 H 140.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #408C2E |
|---|---|
| RGB | rgb(64, 140, 46) |
| HSL | hsl(109, 51%, 36%) |
| HSV | hsv(109, 67%, 55%) |
| CMYK | cmyk(54.3%, 0%, 67.1%, 45.1%) |
| CIE-LAB | lab(51.89, -41.88, 41.70) |
| CIE-LCH | lch(51.89, 59.10, 135.12°) |
| OKLab | oklab(57.12% -0.1148 0.0962) |
| OKLCH | oklch(57.12% 0.15 140.1) |
| XYZ | xyz(11.9851, 20.0425, 5.8213) |
| Luminance | 0.2004 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.74
Emerald Green
#028F1E
ΔE00 3.83
Fern Green
#548D44
ΔE00 3.88
Irish Green
#019529
ΔE00 4.53
Kelley Green
#009337
ΔE00 4.76
True Green
#089404
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#408C2E #7A2E8C
analogous
#6F8C2E #408C2E #2E8C4B
triadic
#408C2E #2E408C #8C2E40
tetradic
#408C2E #2E6F8C #7A2E8C #8C4B2E
square
#408C2E #2E6F8C #7A2E8C #8C4B2E
split-complementary
#408C2E #4B2E8C #8C2E6F
monochromatic
#163010 #2B5E1F #408C2E #55BA3D #7BCD67
Accessibility & contrast
On white
4.19
#408C2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#408C2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #408C2E
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##408C2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##408C2E | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908022
Deuteranopia (green-blind)
#867936
Tritanopia (blue-blind)
#388779
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #408c2e; /* rgb */ color: rgb(64, 140, 46); /* oklch */ color: oklch(57.1% 0.150 140.1);
Tailwind
colors: {
custom: {
50: '#7cae6b',
500: '#408c2e',
950: '#000000',
},
}SCSS
$custom: #408c2e; $custom-light: #7cae6b; $custom-dark: #000000;
JSON
{
"hex": "#408c2e",
"rgb": {
"r": 64,
"g": 140,
"b": 46
},
"hsl": {
"h": 108.511,
"s": 50.538,
"l": 36.471
},
"oklch": {
"l": 0.57123,
"c": 0.14981,
"h": 140.1
},
"luminance": 0.20043
}Semantic roles & 50–950 ramp
primary
#408C2E
secondary
#A462B4
accent
#4EDABF
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A