#866F17#866F17
#866F17 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.9% C 0.104 H 93.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #866F17 |
|---|---|
| RGB | rgb(134, 111, 23) |
| HSL | hsl(48, 71%, 31%) |
| HSV | hsv(48, 83%, 53%) |
| CMYK | cmyk(0%, 17.2%, 82.8%, 47.5%) |
| CIE-LAB | lab(47.62, -0.07, 48.17) |
| CIE-LCH | lch(47.62, 48.17, 90.08°) |
| OKLab | oklab(54.85% -0.0057 0.1042) |
| OKLCH | oklch(54.85% 0.104 93.1) |
| XYZ | xyz(15.6715, 16.5000, 3.1698) |
| Luminance | 0.1650 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.89
Poo
#8F7303
ΔE00 3.05
Muddy Brown
#886806
ΔE00 3.65
Ugly Brown
#7D7103
ΔE00 4.11
Puke Brown
#947706
ΔE00 4.45
Baby Poop
#937C00
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866F17 #172E86
analogous
#863817 #866F17 #658617
triadic
#866F17 #17866F #6F1786
tetradic
#866F17 #178638 #172E86 #861765
square
#866F17 #178638 #172E86 #861765
split-complementary
#866F17 #176586 #381786
monochromatic
#1E1805 #52440E #866F17 #BA9A20 #DDBB3A
Accessibility & contrast
On white
4.88
#866F17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#866F17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #866F17
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##866F17 | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6D01
Deuteranopia (green-blind)
#82741D
Tritanopia (blue-blind)
#92655F
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #866f17; /* rgb */ color: rgb(134, 111, 23); /* oklch */ color: oklch(54.9% 0.104 93.1);
Tailwind
colors: {
custom: {
50: '#ad985d',
500: '#866f17',
950: '#000000',
},
}SCSS
$custom: #866f17; $custom-light: #ad985d; $custom-dark: #000000;
JSON
{
"hex": "#866f17",
"rgb": {
"r": 134,
"g": 111,
"b": 23
},
"hsl": {
"h": 47.568,
"s": 70.701,
"l": 30.784
},
"oklch": {
"l": 0.54853,
"c": 0.10431,
"h": 93.1
},
"luminance": 0.16499
}Semantic roles & 50–950 ramp
primary
#866F17
secondary
#3F58BA
accent
#5FED3A
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D05
muted
#807E79