#407A29#407A29
#407A29 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.2% C 0.129 H 138.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #407A29 |
|---|---|
| RGB | rgb(64, 122, 41) |
| HSL | hsl(103, 50%, 32%) |
| HSV | hsv(103, 66%, 48%) |
| CMYK | cmyk(47.5%, 0%, 66.4%, 52.2%) |
| CIE-LAB | lab(45.86, -34.83, 37.38) |
| CIE-LCH | lch(45.86, 51.09, 132.97°) |
| OKLab | oklab(52.16% -0.096 0.0865) |
| OKLCH | oklch(52.16% 0.129 138) |
| XYZ | xyz(9.4738, 15.1685, 4.5260) |
| Luminance | 0.1517 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.33
Darkish Green
#287C37
ΔE00 4.50
Dark Grass Green
#388004
ΔE00 4.52
Green
#008000
ΔE00 5.71
Forestgreen (CSS)
#228B22
ΔE00 6.77
Avocado
#568203
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#407A29 #63297A
analogous
#697A29 #407A29 #297A3B
triadic
#407A29 #29407A #7A2940
tetradic
#407A29 #29697A #63297A #7A3B29
square
#407A29 #29697A #63297A #7A3B29
split-complementary
#407A29 #3B297A #7A2969
monochromatic
#101E0A #284C1A #407A29 #58A838 #77C757
Accessibility & contrast
On white
5.21
#407A29 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#407A29 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #407A29
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##407A29 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##407A29 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E701F
Deuteranopia (green-blind)
#766B30
Tritanopia (blue-blind)
#3C7669
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #407a29; /* rgb */ color: rgb(64, 122, 41); /* oklch */ color: oklch(52.2% 0.129 138.0);
Tailwind
colors: {
custom: {
50: '#7aa167',
500: '#407a29',
950: '#000000',
},
}SCSS
$custom: #407a29; $custom-light: #7aa167; $custom-dark: #000000;
JSON
{
"hex": "#407a29",
"rgb": {
"r": 64,
"g": 122,
"b": 41
},
"hsl": {
"h": 102.963,
"s": 49.693,
"l": 31.961
},
"oklch": {
"l": 0.52161,
"c": 0.12923,
"h": 138
},
"luminance": 0.15169
}Semantic roles & 50–950 ramp
primary
#407A29
secondary
#9353AC
accent
#4FD9B2
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#0A0F06
muted
#7C7E7A