#40643F#40643F
#40643F is a mid, moderate green. Relative luminance 0.106; OKLCH L 46.5% C 0.072 H 143.7°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #40643F |
|---|---|
| RGB | rgb(64, 100, 63) |
| HSL | hsl(118, 23%, 32%) |
| HSV | hsv(118, 37%, 39%) |
| CMYK | cmyk(36%, 0%, 37%, 60.8%) |
| CIE-LAB | lab(38.83, -21.25, 17.02) |
| CIE-LCH | lch(38.83, 27.22, 141.31°) |
| OKLab | oklab(46.53% -0.0579 0.0425) |
| OKLCH | oklch(46.53% 0.072 143.7) |
| XYZ | xyz(7.5684, 10.5629, 6.3417) |
| Luminance | 0.1056 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 2.64
Pine
#2B5D34
ΔE00 4.12
Forest Green
#2D5A27
ΔE00 5.67
Spruce
#0A5F38
ΔE00 6.93
Darkolivegreen
#556B2F
ΔE00 8.13
Camo Green
#526525
ΔE00 8.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40643F #633F64
analogous
#53643F #40643F #3F6451
triadic
#40643F #3F4064 #643F40
tetradic
#40643F #3F5364 #633F64 #64513F
square
#40643F #3F5364 #633F64 #64513F
split-complementary
#40643F #513F64 #643F53
monochromatic
#101910 #283E27 #40643F #588A57 #77A875
Accessibility & contrast
On white
6.75
#40643F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#40643F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #40643F
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40643F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##40643F | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665E3D
Deuteranopia (green-blind)
#605A41
Tritanopia (blue-blind)
#3C625B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #40643f; /* rgb */ color: rgb(64, 100, 63); /* oklch */ color: oklch(46.5% 0.072 143.7);
Tailwind
colors: {
custom: {
50: '#769074',
500: '#40643f',
950: '#000000',
},
}SCSS
$custom: #40643f; $custom-light: #769074; $custom-dark: #000000;
JSON
{
"hex": "#40643f",
"rgb": {
"r": 64,
"g": 100,
"b": 63
},
"hsl": {
"h": 118.378,
"s": 22.699,
"l": 31.961
},
"oklch": {
"l": 0.46528,
"c": 0.07187,
"h": 143.7
},
"luminance": 0.10563
}Semantic roles & 50–950 ramp
primary
#40643F
secondary
#936B94
accent
#69BFBD
background
#F7F8F7
surface
#EDF0ED
border
#C8CBC8
text
#080C08
muted
#7B7D7B