#407256#407256
#407256 is a mid, moderate green. Relative luminance 0.138; OKLCH L 50.8% C 0.071 H 158.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #407256 |
|---|---|
| RGB | rgb(64, 114, 86) |
| HSL | hsl(146, 28%, 35%) |
| HSV | hsv(146, 44%, 45%) |
| CMYK | cmyk(43.9%, 0%, 24.6%, 55.3%) |
| CIE-LAB | lab(43.94, -23.81, 10.34) |
| CIE-LCH | lch(43.94, 25.96, 156.53°) |
| OKLab | oklab(50.83% -0.0657 0.0265) |
| OKLCH | oklch(50.83% 0.071 158) |
| XYZ | xyz(9.8107, 13.7958, 10.9482) |
| Luminance | 0.1380 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 7.66
Dark Green Blue
#1F6357
ΔE00 8.61
Pine
#2B5D34
ΔE00 8.88
Dark Sea Green
#11875D
ΔE00 9.01
Spruce
#0A5F38
ΔE00 9.07
Dark Sage
#598556
ΔE00 9.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#407256 #72405C
analogous
#437240 #407256 #40726F
triadic
#407256 #564072 #725640
tetradic
#407256 #404372 #72405C #726F40
square
#407256 #404372 #72405C #726F40
split-complementary
#407256 #6F4072 #724043
monochromatic
#14241B #2A4B38 #407256 #569974 #79B493
Accessibility & contrast
On white
5.59
#407256 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#407256 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #407256
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##407256 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##407256 | 1.00 | 5.59 | 3.76 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716B54
Deuteranopia (green-blind)
#696658
Tritanopia (blue-blind)
#34716A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #407256; /* rgb */ color: rgb(64, 114, 86); /* oklch */ color: oklch(50.8% 0.071 158.0);
Tailwind
colors: {
custom: {
50: '#779b85',
500: '#407256',
950: '#000000',
},
}SCSS
$custom: #407256; $custom-light: #779b85; $custom-dark: #000000;
JSON
{
"hex": "#407256",
"rgb": {
"r": 64,
"g": 114,
"b": 86
},
"hsl": {
"h": 146.4,
"s": 28.09,
"l": 34.902
},
"oklch": {
"l": 0.50826,
"c": 0.0708,
"h": 158
},
"luminance": 0.13797
}Semantic roles & 50–950 ramp
primary
#407256
secondary
#9F6F8A
accent
#639AC4
background
#F7F9F8
surface
#EDF2EF
border
#C8CCCA
text
#090E0B
muted
#7B7E7C