#40602E#40602E
#40602E is a mid, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.1% C 0.085 H 135.3°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #40602E |
|---|---|
| RGB | rgb(64, 96, 46) |
| HSL | hsl(98, 35%, 28%) |
| HSV | hsv(98, 52%, 38%) |
| CMYK | cmyk(33.3%, 0%, 52.1%, 62.4%) |
| CIE-LAB | lab(37.21, -21.89, 24.77) |
| CIE-LCH | lch(37.21, 33.06, 131.48°) |
| OKLab | oklab(45.12% -0.0603 0.0596) |
| OKLCH | oklch(45.12% 0.085 135.3) |
| XYZ | xyz(6.7902, 9.6527, 4.0896) |
| Luminance | 0.0965 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.72
Pine
#2B5D34
ΔE00 5.08
Hunter Green
#355E3B
ΔE00 5.13
Camo Green
#526525
ΔE00 5.74
Darkolivegreen
#556B2F
ΔE00 5.83
Navy Green
#35530A
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40602E #4E2E60
analogous
#59602E #40602E #2E6035
triadic
#40602E #2E4060 #602E40
tetradic
#40602E #2E5960 #4E2E60 #60352E
square
#40602E #2E5960 #4E2E60 #60352E
split-complementary
#40602E #352E60 #602E59
monochromatic
#0E150A #24371A #40602E #5C8942 #78AF59
Accessibility & contrast
On white
7.17
#40602E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#40602E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #40602E
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40602E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40602E | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#63592A
Deuteranopia (green-blind)
#5F5731
Tritanopia (blue-blind)
#405D54
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #40602e; /* rgb */ color: rgb(64, 96, 46); /* oklch */ color: oklch(45.1% 0.085 135.3);
Tailwind
colors: {
custom: {
50: '#778d68',
500: '#40602e',
950: '#000000',
},
}SCSS
$custom: #40602e; $custom-light: #778d68; $custom-dark: #000000;
JSON
{
"hex": "#40602e",
"rgb": {
"r": 64,
"g": 96,
"b": 46
},
"hsl": {
"h": 98.4,
"s": 35.211,
"l": 27.843
},
"oklch": {
"l": 0.45119,
"c": 0.0848,
"h": 135.3
},
"luminance": 0.09653
}Semantic roles & 50–950 ramp
primary
#40602E
secondary
#7D5892
accent
#5DCBA3
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#090C06
muted
#7B7D7A