#866F18#866F18
#866F18 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.9% C 0.104 H 93.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #866F18 |
|---|---|
| RGB | rgb(134, 111, 24) |
| HSL | hsl(47, 70%, 31%) |
| HSV | hsv(47, 82%, 53%) |
| CMYK | cmyk(0%, 17.2%, 82.1%, 47.5%) |
| CIE-LAB | lab(47.63, -0.03, 47.83) |
| CIE-LCH | lch(47.63, 47.83, 90.03°) |
| OKLab | oklab(54.86% -0.0055 0.1036) |
| OKLCH | oklch(54.86% 0.104 93) |
| XYZ | xyz(15.6817, 16.5041, 3.2236) |
| Luminance | 0.1650 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.92
Poo
#8F7303
ΔE00 3.11
Muddy Brown
#886806
ΔE00 3.66
Ugly Brown
#7D7103
ΔE00 4.16
Puke Brown
#947706
ΔE00 4.50
Baby Poop
#937C00
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866F18 #182F86
analogous
#863818 #866F18 #668618
triadic
#866F18 #18866F #6F1886
tetradic
#866F18 #188638 #182F86 #861866
square
#866F18 #188638 #182F86 #861866
split-complementary
#866F18 #186686 #381886
monochromatic
#1E1905 #52440F #866F18 #BA9A21 #DCBB3C
Accessibility & contrast
On white
4.88
#866F18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#866F18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #866F18
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##866F18 | 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)
#7C6D03
Deuteranopia (green-blind)
#82741E
Tritanopia (blue-blind)
#92655F
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #866f18; /* rgb */ color: rgb(134, 111, 24); /* oklch */ color: oklch(54.9% 0.104 93.0);
Tailwind
colors: {
custom: {
50: '#ad985d',
500: '#866f18',
950: '#000000',
},
}SCSS
$custom: #866f18; $custom-light: #ad985d; $custom-dark: #000000;
JSON
{
"hex": "#866f18",
"rgb": {
"r": 134,
"g": 111,
"b": 24
},
"hsl": {
"h": 47.455,
"s": 69.62,
"l": 30.98
},
"oklch": {
"l": 0.54858,
"c": 0.10379,
"h": 93
},
"luminance": 0.16503
}Semantic roles & 50–950 ramp
primary
#866F18
secondary
#4059BA
accent
#60EC3B
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D05
muted
#807E79