#408C2F#408C2F
#408C2F is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.1% C 0.149 H 140.2°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #408C2F |
|---|---|
| RGB | rgb(64, 140, 47) |
| HSL | hsl(109, 50%, 37%) |
| HSV | hsv(109, 66%, 55%) |
| CMYK | cmyk(54.3%, 0%, 66.4%, 45.1%) |
| CIE-LAB | lab(51.89, -41.78, 41.26) |
| CIE-LCH | lch(51.89, 58.72, 135.36°) |
| OKLab | oklab(57.13% -0.1145 0.0954) |
| OKLCH | oklch(57.13% 0.149 140.2) |
| XYZ | xyz(12.0050, 20.0504, 5.9263) |
| Luminance | 0.2005 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.77
Fern Green
#548D44
ΔE00 3.78
Emerald Green
#028F1E
ΔE00 3.87
Irish Green
#019529
ΔE00 4.53
Kelley Green
#009337
ΔE00 4.69
True Green
#089404
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#408C2F #7B2F8C
analogous
#6F8C2F #408C2F #2F8C4D
triadic
#408C2F #2F408C #8C2F40
tetradic
#408C2F #2F6F8C #7B2F8C #8C4D2F
square
#408C2F #2F6F8C #7B2F8C #8C4D2F
split-complementary
#408C2F #4D2F8C #8C2F6F
monochromatic
#163010 #2B5E20 #408C2F #55BA3E #7BCD69
Accessibility & contrast
On white
4.19
#408C2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#408C2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #408C2F
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##408C2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##408C2F | 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)
#908023
Deuteranopia (green-blind)
#867937
Tritanopia (blue-blind)
#388879
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #408c2f; /* rgb */ color: rgb(64, 140, 47); /* oklch */ color: oklch(57.1% 0.149 140.2);
Tailwind
colors: {
custom: {
50: '#7cae6c',
500: '#408c2f',
950: '#000000',
},
}SCSS
$custom: #408c2f; $custom-light: #7cae6c; $custom-dark: #000000;
JSON
{
"hex": "#408c2f",
"rgb": {
"r": 64,
"g": 140,
"b": 47
},
"hsl": {
"h": 109.032,
"s": 49.733,
"l": 36.667
},
"oklch": {
"l": 0.57133,
"c": 0.14904,
"h": 140.2
},
"luminance": 0.20051
}Semantic roles & 50–950 ramp
primary
#408C2F
secondary
#A563B4
accent
#4FD9C0
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A1007
muted
#7C7F7A