#40702E#40702E
#40702E is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.5% C 0.110 H 138.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #40702E |
|---|---|
| RGB | rgb(64, 112, 46) |
| HSL | hsl(104, 42%, 31%) |
| HSV | hsv(104, 59%, 44%) |
| CMYK | cmyk(42.9%, 0%, 58.9%, 56.1%) |
| CIE-LAB | lab(42.57, -29.75, 31.20) |
| CIE-LCH | lch(42.57, 43.11, 133.64°) |
| OKLab | oklab(49.49% -0.0819 0.0738) |
| OKLCH | oklch(49.49% 0.11 138) |
| XYZ | xyz(8.4014, 12.8751, 4.6267) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkolivegreen
#556B2F
ΔE00 5.46
Darkish Green
#287C37
ΔE00 5.59
Tree Green
#2A7E19
ΔE00 6.72
Camo Green
#526525
ΔE00 6.87
Darkgreen
#006400
ΔE00 7.66
Forest Green
#2D5A27
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40702E #5E2E70
analogous
#61702E #40702E #2E703D
triadic
#40702E #2E4070 #702E40
tetradic
#40702E #2E6170 #5E2E70 #703D2E
square
#40702E #2E6170 #5E2E70 #703D2E
split-complementary
#40702E #3D2E70 #702E61
monochromatic
#0E190A #27451C #40702E #599B40 #76BC5C
Accessibility & contrast
On white
5.87
#40702E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#40702E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #40702E
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40702E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40702E | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736727
Deuteranopia (green-blind)
#6D6333
Tritanopia (blue-blind)
#3D6C61
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #40702e; /* rgb */ color: rgb(64, 112, 46); /* oklch */ color: oklch(49.5% 0.110 138.0);
Tailwind
colors: {
custom: {
50: '#789969',
500: '#40702e',
950: '#000000',
},
}SCSS
$custom: #40702e; $custom-light: #789969; $custom-dark: #000000;
JSON
{
"hex": "#40702e",
"rgb": {
"r": 64,
"g": 112,
"b": 46
},
"hsl": {
"h": 103.636,
"s": 41.772,
"l": 30.98
},
"oklch": {
"l": 0.49485,
"c": 0.11017,
"h": 138
},
"luminance": 0.12876
}Semantic roles & 50–950 ramp
primary
#40702E
secondary
#8D58A1
accent
#56D2B0
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E06
muted
#7B7E7A