#866E17#866E17
#866E17 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.6% C 0.104 H 92.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #866E17 |
|---|---|
| RGB | rgb(134, 110, 23) |
| HSL | hsl(47, 71%, 31%) |
| HSV | hsv(47, 83%, 53%) |
| CMYK | cmyk(0%, 17.9%, 82.8%, 47.5%) |
| CIE-LAB | lab(47.34, 0.51, 47.92) |
| CIE-LCH | lch(47.34, 47.92, 89.39°) |
| OKLab | oklab(54.63% -0.0041 0.1036) |
| OKLCH | oklch(54.63% 0.104 92.2) |
| XYZ | xyz(15.5630, 16.2830, 3.1337) |
| Luminance | 0.1628 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Poo
#8F7303
ΔE00 3.19
Muddy Brown
#886806
ΔE00 3.21
Hazel
#8E7618
ΔE00 3.22
Ugly Brown
#7D7103
ΔE00 4.50
Puke Brown
#947706
ΔE00 4.65
Shit
#7F5F00
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866E17 #172F86
analogous
#863617 #866E17 #668617
triadic
#866E17 #17866E #6E1786
tetradic
#866E17 #178636 #172F86 #861766
square
#866E17 #178636 #172F86 #861766
split-complementary
#866E17 #176686 #361786
monochromatic
#1E1805 #52430E #866E17 #BA9920 #DDBA3A
Accessibility & contrast
On white
4.93
#866E17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#866E17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #866E17
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866E17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##866E17 | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6C02
Deuteranopia (green-blind)
#81731D
Tritanopia (blue-blind)
#92645E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #866e17; /* rgb */ color: rgb(134, 110, 23); /* oklch */ color: oklch(54.6% 0.104 92.2);
Tailwind
colors: {
custom: {
50: '#ad975d',
500: '#866e17',
950: '#000000',
},
}SCSS
$custom: #866e17; $custom-light: #ad975d; $custom-dark: #000000;
JSON
{
"hex": "#866e17",
"rgb": {
"r": 134,
"g": 110,
"b": 23
},
"hsl": {
"h": 47.027,
"s": 70.701,
"l": 30.784
},
"oklch": {
"l": 0.54631,
"c": 0.10369,
"h": 92.2
},
"luminance": 0.16282
}Semantic roles & 50–950 ramp
primary
#866E17
secondary
#3F59BA
accent
#61ED3A
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D04
muted
#807E79