#876F20#876F20
#876F20 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 55.0% C 0.099 H 91.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #876F20 |
|---|---|
| RGB | rgb(135, 111, 32) |
| HSL | hsl(46, 62%, 33%) |
| HSV | hsv(46, 76%, 53%) |
| CMYK | cmyk(0%, 17.8%, 76.3%, 47.1%) |
| CIE-LAB | lab(47.78, 0.79, 44.98) |
| CIE-LCH | lch(47.78, 44.99, 89.00°) |
| OKLab | oklab(55.02% -0.0023 0.0993) |
| OKLCH | oklch(55.02% 0.099 91.4) |
| XYZ | xyz(15.9377, 16.6250, 3.7357) |
| Luminance | 0.1662 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.27
Poo
#8F7303
ΔE00 3.63
Muddy Brown
#886806
ΔE00 3.65
Puke Brown
#947706
ΔE00 4.85
Ugly Brown
#7D7103
ΔE00 5.05
Shit
#7F5F00
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#876F20 #203887
analogous
#873B20 #876F20 #6C8720
triadic
#876F20 #20876F #6F2087
tetradic
#876F20 #20873B #203887 #87206C
square
#876F20 #20873B #203887 #87206C
split-complementary
#876F20 #206C87 #3B2087
monochromatic
#241E09 #564614 #876F20 #B8982C #D5B54D
Accessibility & contrast
On white
4.86
#876F20 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#876F20 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #876F20
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##876F20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##876F20 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6D13
Deuteranopia (green-blind)
#827424
Tritanopia (blue-blind)
#92655F
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #876f20; /* rgb */ color: rgb(135, 111, 32); /* oklch */ color: oklch(55.0% 0.099 91.4);
Tailwind
colors: {
custom: {
50: '#ae9861',
500: '#876f20',
950: '#000000',
},
}SCSS
$custom: #876f20; $custom-light: #ae9861; $custom-dark: #000000;
JSON
{
"hex": "#876f20",
"rgb": {
"r": 135,
"g": 111,
"b": 32
},
"hsl": {
"h": 46.019,
"s": 61.677,
"l": 32.745
},
"oklch": {
"l": 0.55021,
"c": 0.09929,
"h": 91.4
},
"luminance": 0.16624
}Semantic roles & 50–950 ramp
primary
#876F20
secondary
#4B64B8
accent
#69E543
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79