#40682E#40682E
#40682E is a mid, moderate green. Relative luminance 0.112; OKLCH L 47.3% C 0.098 H 136.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #40682E |
|---|---|
| RGB | rgb(64, 104, 46) |
| HSL | hsl(101, 39%, 29%) |
| HSV | hsv(101, 56%, 41%) |
| CMYK | cmyk(38.5%, 0%, 55.8%, 59.2%) |
| CIE-LAB | lab(39.89, -25.92, 28.02) |
| CIE-LCH | lch(39.89, 38.17, 132.77°) |
| OKLab | oklab(47.3% -0.0714 0.0668) |
| OKLCH | oklch(47.3% 0.098 136.9) |
| XYZ | xyz(7.5576, 11.1875, 4.3454) |
| Luminance | 0.1119 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkolivegreen
#556B2F
ΔE00 4.87
Forest Green
#2D5A27
ΔE00 5.33
Camo Green
#526525
ΔE00 5.63
Pine
#2B5D34
ΔE00 6.39
Camouflage Green
#4B6113
ΔE00 6.74
Hunter Green
#355E3B
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40682E #562E68
analogous
#5D682E #40682E #2E6839
triadic
#40682E #2E4068 #682E40
tetradic
#40682E #2E5D68 #562E68 #68392E
square
#40682E #2E5D68 #562E68 #68392E
split-complementary
#40682E #392E68 #682E5D
monochromatic
#0D1509 #263E1B #40682E #5A9241 #77B65A
Accessibility & contrast
On white
6.49
#40682E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#40682E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #40682E
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40682E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40682E | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B6029
Deuteranopia (green-blind)
#665D32
Tritanopia (blue-blind)
#3E655B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #40682e; /* rgb */ color: rgb(64, 104, 46); /* oklch */ color: oklch(47.3% 0.098 136.9);
Tailwind
colors: {
custom: {
50: '#779368',
500: '#40682e',
950: '#000000',
},
}SCSS
$custom: #40682e; $custom-light: #779368; $custom-dark: #000000;
JSON
{
"hex": "#40682e",
"rgb": {
"r": 64,
"g": 104,
"b": 46
},
"hsl": {
"h": 101.379,
"s": 38.667,
"l": 29.412
},
"oklch": {
"l": 0.473,
"c": 0.09777,
"h": 136.9
},
"luminance": 0.11188
}Semantic roles & 50–950 ramp
primary
#40682E
secondary
#85589A
accent
#59CFAA
background
#F7F9F6
surface
#EDF1EB
border
#C8CBC6
text
#090D06
muted
#7B7E7A