#40602F#40602F
#40602F is a mid, moderate yellow-green. Relative luminance 0.097; OKLCH L 45.1% C 0.084 H 135.7°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #40602F |
|---|---|
| RGB | rgb(64, 96, 47) |
| HSL | hsl(99, 34%, 28%) |
| HSV | hsv(99, 51%, 38%) |
| CMYK | cmyk(33.3%, 0%, 51%, 62.4%) |
| CIE-LAB | lab(37.23, -21.75, 24.22) |
| CIE-LCH | lch(37.23, 32.56, 131.93°) |
| OKLab | oklab(45.14% -0.0598 0.0585) |
| OKLCH | oklch(45.14% 0.084 135.7) |
| XYZ | xyz(6.8101, 9.6607, 4.1947) |
| Luminance | 0.0966 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.71
Hunter Green
#355E3B
ΔE00 4.90
Pine
#2B5D34
ΔE00 4.92
Camo Green
#526525
ΔE00 5.92
Darkolivegreen
#556B2F
ΔE00 5.95
Navy Green
#35530A
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40602F #4F2F60
analogous
#58602F #40602F #2F6036
triadic
#40602F #2F4060 #602F40
tetradic
#40602F #2F5860 #4F2F60 #60362F
square
#40602F #2F5860 #4F2F60 #60362F
split-complementary
#40602F #362F60 #602F58
monochromatic
#0E150A #25371B #40602F #5B8943 #78AF5B
Accessibility & contrast
On white
7.16
#40602F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#40602F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #40602F
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40602F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40602F | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#63592B
Deuteranopia (green-blind)
#5E5732
Tritanopia (blue-blind)
#3F5D55
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #40602f; /* rgb */ color: rgb(64, 96, 47); /* oklch */ color: oklch(45.1% 0.084 135.7);
Tailwind
colors: {
custom: {
50: '#768d68',
500: '#40602f',
950: '#000000',
},
}SCSS
$custom: #40602f; $custom-light: #768d68; $custom-dark: #000000;
JSON
{
"hex": "#40602f",
"rgb": {
"r": 64,
"g": 96,
"b": 47
},
"hsl": {
"h": 99.184,
"s": 34.266,
"l": 28.039
},
"oklch": {
"l": 0.45136,
"c": 0.08368,
"h": 135.7
},
"luminance": 0.09661
}Semantic roles & 50–950 ramp
primary
#40602F
secondary
#7E5992
accent
#5DCAA5
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#090C06
muted
#7B7D7A