#40643C#40643C
#40643C is a mid, moderate green. Relative luminance 0.105; OKLCH L 46.5% C 0.075 H 142.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #40643C |
|---|---|
| RGB | rgb(64, 100, 60) |
| HSL | hsl(114, 25%, 31%) |
| HSV | hsv(114, 40%, 39%) |
| CMYK | cmyk(36%, 0%, 40%, 60.8%) |
| CIE-LAB | lab(38.78, -21.78, 18.71) |
| CIE-LCH | lch(38.78, 28.71, 139.33°) |
| OKLab | oklab(46.46% -0.0594 0.0465) |
| OKLCH | oklch(46.46% 0.075 142) |
| XYZ | xyz(7.4868, 10.5302, 5.9121) |
| Luminance | 0.1053 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 2.97
Pine
#2B5D34
ΔE00 4.03
Forest Green
#2D5A27
ΔE00 5.11
Spruce
#0A5F38
ΔE00 7.05
Darkolivegreen
#556B2F
ΔE00 7.45
Camo Green
#526525
ΔE00 8.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40643C #603C64
analogous
#54643C #40643C #3C644C
triadic
#40643C #3C4064 #643C40
tetradic
#40643C #3C5464 #603C64 #644C3C
square
#40643C #3C5464 #603C64 #644C3C
split-complementary
#40643C #4C3C64 #643C54
monochromatic
#0F180E #283E25 #40643C #588A53 #76AA71
Accessibility & contrast
On white
6.76
#40643C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#40643C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #40643C
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40643C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40643C | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665D39
Deuteranopia (green-blind)
#605A3E
Tritanopia (blue-blind)
#3D625A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #40643c; /* rgb */ color: rgb(64, 100, 60); /* oklch */ color: oklch(46.5% 0.075 142.0);
Tailwind
colors: {
custom: {
50: '#769072',
500: '#40643c',
950: '#000000',
},
}SCSS
$custom: #40643c; $custom-light: #769072; $custom-dark: #000000;
JSON
{
"hex": "#40643c",
"rgb": {
"r": 64,
"g": 100,
"b": 60
},
"hsl": {
"h": 114,
"s": 25,
"l": 31.373
},
"oklch": {
"l": 0.46464,
"c": 0.07541,
"h": 142
},
"luminance": 0.10531
}Semantic roles & 50–950 ramp
primary
#40643C
secondary
#906894
accent
#66C1B8
background
#F7F8F6
surface
#EDF0EC
border
#C8CBC7
text
#080C08
muted
#7B7D7B