#40643B#40643B
#40643B is a mid, moderate green. Relative luminance 0.105; OKLCH L 46.4% C 0.077 H 141.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #40643B |
|---|---|
| RGB | rgb(64, 100, 59) |
| HSL | hsl(113, 26%, 31%) |
| HSV | hsv(113, 41%, 39%) |
| CMYK | cmyk(36%, 0%, 41%, 60.8%) |
| CIE-LAB | lab(38.76, -21.95, 19.27) |
| CIE-LCH | lch(38.76, 29.21, 138.71°) |
| OKLab | oklab(46.44% -0.0599 0.0477) |
| OKLCH | oklch(46.44% 0.077 141.4) |
| XYZ | xyz(7.4607, 10.5198, 5.7742) |
| Luminance | 0.1052 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 3.13
Pine
#2B5D34
ΔE00 4.04
Forest Green
#2D5A27
ΔE00 4.95
Spruce
#0A5F38
ΔE00 7.12
Darkolivegreen
#556B2F
ΔE00 7.23
Camo Green
#526525
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40643B #5F3B64
analogous
#54643B #40643B #3B644A
triadic
#40643B #3B4064 #643B40
tetradic
#40643B #3B5464 #5F3B64 #644A3B
square
#40643B #3B5464 #5F3B64 #644A3B
split-complementary
#40643B #4A3B64 #643B54
monochromatic
#0F170E #273E24 #40643B #598A52 #76AA6F
Accessibility & contrast
On white
6.77
#40643B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#40643B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #40643B
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40643B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40643B | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665D38
Deuteranopia (green-blind)
#615A3D
Tritanopia (blue-blind)
#3D625A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #40643b; /* rgb */ color: rgb(64, 100, 59); /* oklch */ color: oklch(46.4% 0.077 141.4);
Tailwind
colors: {
custom: {
50: '#769071',
500: '#40643b',
950: '#000000',
},
}SCSS
$custom: #40643b; $custom-light: #769071; $custom-dark: #000000;
JSON
{
"hex": "#40643b",
"rgb": {
"r": 64,
"g": 100,
"b": 59
},
"hsl": {
"h": 112.683,
"s": 25.786,
"l": 31.176
},
"oklch": {
"l": 0.46443,
"c": 0.07658,
"h": 141.4
},
"luminance": 0.1052
}Semantic roles & 50–950 ramp
primary
#40643B
secondary
#8F6794
accent
#66C2B7
background
#F7F8F6
surface
#EDF0EC
border
#C8CBC7
text
#090C07
muted
#7B7D7A