#407252#407252
#407252 is a mid, moderate green. Relative luminance 0.137; OKLCH L 50.7% C 0.075 H 154.7°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #407252 |
|---|---|
| RGB | rgb(64, 114, 82) |
| HSL | hsl(142, 28%, 35%) |
| HSV | hsv(142, 44%, 45%) |
| CMYK | cmyk(43.9%, 0%, 28.1%, 55.3%) |
| CIE-LAB | lab(43.85, -24.68, 12.58) |
| CIE-LCH | lch(43.85, 27.70, 152.98°) |
| OKLab | oklab(50.72% -0.0677 0.032) |
| OKLCH | oklch(50.72% 0.075 154.7) |
| XYZ | xyz(9.6540, 13.7332, 10.1231) |
| Luminance | 0.1373 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 7.17
Pine
#2B5D34
ΔE00 8.21
Dark Sage
#598556
ΔE00 8.62
Spruce
#0A5F38
ΔE00 8.63
Dark Sea Green
#11875D
ΔE00 8.82
Darkish Green
#287C37
ΔE00 9.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#407252 #724060
analogous
#477240 #407252 #40726B
triadic
#407252 #524072 #725240
tetradic
#407252 #404772 #724060 #726B40
square
#407252 #404772 #724060 #726B40
split-complementary
#407252 #6B4072 #724047
monochromatic
#14241A #2A4B36 #407252 #56996E #79B48E
Accessibility & contrast
On white
5.60
#407252 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#407252 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #407252
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##407252 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##407252 | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726B50
Deuteranopia (green-blind)
#6A6654
Tritanopia (blue-blind)
#367169
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #407252; /* rgb */ color: rgb(64, 114, 82); /* oklch */ color: oklch(50.7% 0.075 154.7);
Tailwind
colors: {
custom: {
50: '#779b82',
500: '#407252',
950: '#000000',
},
}SCSS
$custom: #407252; $custom-light: #779b82; $custom-dark: #000000;
JSON
{
"hex": "#407252",
"rgb": {
"r": 64,
"g": 114,
"b": 82
},
"hsl": {
"h": 141.6,
"s": 28.09,
"l": 34.902
},
"oklch": {
"l": 0.50722,
"c": 0.07487,
"h": 154.7
},
"luminance": 0.13734
}Semantic roles & 50–950 ramp
primary
#407252
secondary
#9F6F8E
accent
#63A1C4
background
#F7F9F8
surface
#EDF2EF
border
#C8CCCA
text
#090E0A
muted
#7B7E7C