#866E21#866E21
#866E21 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.7% C 0.098 H 91.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #866E21 |
|---|---|
| RGB | rgb(134, 110, 33) |
| HSL | hsl(46, 60%, 33%) |
| HSV | hsv(46, 75%, 53%) |
| CMYK | cmyk(0%, 17.9%, 75.4%, 47.5%) |
| CIE-LAB | lab(47.41, 0.94, 44.16) |
| CIE-LCH | lch(47.41, 44.17, 88.78°) |
| OKLab | oklab(54.7% -0.0017 0.0978) |
| OKLCH | oklch(54.7% 0.098 91) |
| XYZ | xyz(15.6828, 16.3310, 3.7647) |
| Luminance | 0.1633 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Brown
#886806
ΔE00 3.55
Hazel
#8E7618
ΔE00 3.74
Poo
#8F7303
ΔE00 4.05
Ugly Brown
#7D7103
ΔE00 5.24
Puke Brown
#947706
ΔE00 5.30
Shit
#7F5F00
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866E21 #213986
analogous
#863C21 #866E21 #6B8621
triadic
#866E21 #21866E #6E2186
tetradic
#866E21 #21863C #213986 #86216B
square
#866E21 #21863C #213986 #86216B
split-complementary
#866E21 #216B86 #3C2186
monochromatic
#241D09 #554615 #866E21 #B7962D #D3B44E
Accessibility & contrast
On white
4.92
#866E21 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#866E21 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #866E21
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866E21 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##866E21 | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6C15
Deuteranopia (green-blind)
#817325
Tritanopia (blue-blind)
#91645F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #866e21; /* rgb */ color: rgb(134, 110, 33); /* oklch */ color: oklch(54.7% 0.098 91.0);
Tailwind
colors: {
custom: {
50: '#ad9762',
500: '#866e21',
950: '#000000',
},
}SCSS
$custom: #866e21; $custom-light: #ad9762; $custom-dark: #000000;
JSON
{
"hex": "#866e21",
"rgb": {
"r": 134,
"g": 110,
"b": 33
},
"hsl": {
"h": 45.743,
"s": 60.479,
"l": 32.745
},
"oklch": {
"l": 0.547,
"c": 0.09779,
"h": 91
},
"luminance": 0.1633
}Semantic roles & 50–950 ramp
primary
#866E21
secondary
#4C65B7
accent
#6AE444
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110D05
muted
#807E7A