#866E22#866E22
#866E22 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.7% C 0.097 H 90.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #866E22 |
|---|---|
| RGB | rgb(134, 110, 34) |
| HSL | hsl(46, 60%, 33%) |
| HSV | hsv(46, 75%, 53%) |
| CMYK | cmyk(0%, 17.9%, 74.6%, 47.5%) |
| CIE-LAB | lab(47.41, 0.99, 43.75) |
| CIE-LCH | lch(47.41, 43.76, 88.70°) |
| OKLab | oklab(54.71% -0.0015 0.0971) |
| OKLCH | oklch(54.71% 0.097 90.9) |
| XYZ | xyz(15.6971, 16.3366, 3.8396) |
| Luminance | 0.1634 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Brown
#886806
ΔE00 3.61
Hazel
#8E7618
ΔE00 3.83
Poo
#8F7303
ΔE00 4.16
Ugly Brown
#7D7103
ΔE00 5.34
Puke Brown
#947706
ΔE00 5.39
Shit
#7F5F00
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#866E22 #223A86
analogous
#863C22 #866E22 #6C8622
triadic
#866E22 #22866E #6E2286
tetradic
#866E22 #22863C #223A86 #86226C
square
#866E22 #22863C #223A86 #86226C
split-complementary
#866E22 #226C86 #3C2286
monochromatic
#241E09 #554616 #866E22 #B7962E #D3B350
Accessibility & contrast
On white
4.92
#866E22 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#866E22 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #866E22
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##866E22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##866E22 | 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)
#7B6D17
Deuteranopia (green-blind)
#817326
Tritanopia (blue-blind)
#91655F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #866e22; /* rgb */ color: rgb(134, 110, 34); /* oklch */ color: oklch(54.7% 0.097 90.9);
Tailwind
colors: {
custom: {
50: '#ad9762',
500: '#866e22',
950: '#000000',
},
}SCSS
$custom: #866e22; $custom-light: #ad9762; $custom-dark: #000000;
JSON
{
"hex": "#866e22",
"rgb": {
"r": 134,
"g": 110,
"b": 34
},
"hsl": {
"h": 45.6,
"s": 59.524,
"l": 32.941
},
"oklch": {
"l": 0.54708,
"c": 0.0971,
"h": 90.9
},
"luminance": 0.16336
}Semantic roles & 50–950 ramp
primary
#866E22
secondary
#4E67B6
accent
#6BE345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110D05
muted
#807E7A