#40861F#40861F
#40861F is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.4% C 0.152 H 137.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #40861F |
|---|---|
| RGB | rgb(64, 134, 31) |
| HSL | hsl(101, 62%, 32%) |
| HSV | hsv(101, 77%, 53%) |
| CMYK | cmyk(52.2%, 0%, 76.9%, 47.5%) |
| CIE-LAB | lab(49.78, -40.73, 45.62) |
| CIE-LCH | lch(49.78, 61.15, 131.76°) |
| OKLab | oklab(55.36% -0.1127 0.1024) |
| OKLCH | oklch(55.36% 0.152 137.8) |
| XYZ | xyz(10.8864, 18.2383, 4.2427) |
| Luminance | 0.1824 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 2.86
Forestgreen (CSS)
#228B22
ΔE00 3.40
Tree Green
#2A7E19
ΔE00 3.81
Emerald Green
#028F1E
ΔE00 4.87
Green
#008000
ΔE00 4.90
Avocado
#568203
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#40861F #651F86
analogous
#73861F #40861F #1F8632
triadic
#40861F #1F4086 #861F40
tetradic
#40861F #1F7386 #651F86 #86321F
square
#40861F #1F7386 #651F86 #86321F
split-complementary
#40861F #321F86 #861F73
monochromatic
#112308 #285414 #40861F #58B82A #77D54A
Accessibility & contrast
On white
4.52
#40861F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#40861F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #40861F
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##40861F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##40861F | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A09
Deuteranopia (green-blind)
#81742A
Tritanopia (blue-blind)
#3B8172
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #40861f; /* rgb */ color: rgb(64, 134, 31); /* oklch */ color: oklch(55.4% 0.152 137.8);
Tailwind
colors: {
custom: {
50: '#7caa62',
500: '#40861f',
950: '#000000',
},
}SCSS
$custom: #40861f; $custom-light: #7caa62; $custom-dark: #000000;
JSON
{
"hex": "#40861f",
"rgb": {
"r": 64,
"g": 134,
"b": 31
},
"hsl": {
"h": 100.777,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.55357,
"c": 0.15228,
"h": 137.8
},
"luminance": 0.18239
}Semantic roles & 50–950 ramp
primary
#40861F
secondary
#9449B8
accent
#42E5B1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A