#876E18#876E18
#876E18 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.7% C 0.103 H 91.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #876E18 |
|---|---|
| RGB | rgb(135, 110, 24) |
| HSL | hsl(46, 70%, 31%) |
| HSV | hsv(46, 82%, 53%) |
| CMYK | cmyk(0%, 18.5%, 82.2%, 47.1%) |
| CIE-LAB | lab(47.46, 1.02, 47.72) |
| CIE-LCH | lch(47.46, 47.73, 88.78°) |
| OKLab | oklab(54.75% -0.0026 0.1033) |
| OKLCH | oklch(54.75% 0.103 91.4) |
| XYZ | xyz(15.7334, 16.3697, 3.1950) |
| Luminance | 0.1637 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Brown
#886806
ΔE00 2.99
Poo
#8F7303
ΔE00 3.11
Hazel
#8E7618
ΔE00 3.21
Puke Brown
#947706
ΔE00 4.55
Ugly Brown
#7D7103
ΔE00 4.86
Shit
#7F5F00
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#876E18 #183187
analogous
#873618 #876E18 #688718
triadic
#876E18 #18876E #6E1887
tetradic
#876E18 #188736 #183187 #871868
square
#876E18 #188736 #183187 #871868
split-complementary
#876E18 #186887 #361887
monochromatic
#1F1906 #53440F #876E18 #BB9821 #DCB93D
Accessibility & contrast
On white
4.91
#876E18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#876E18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #876E18
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##876E18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##876E18 | 1.00 | 4.91 | 4.27 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6C04
Deuteranopia (green-blind)
#81741E
Tritanopia (blue-blind)
#93645E
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #876e18; /* rgb */ color: rgb(135, 110, 24); /* oklch */ color: oklch(54.7% 0.103 91.4);
Tailwind
colors: {
custom: {
50: '#ae975d',
500: '#876e18',
950: '#000000',
},
}SCSS
$custom: #876e18; $custom-light: #ae975d; $custom-dark: #000000;
JSON
{
"hex": "#876e18",
"rgb": {
"r": 135,
"g": 110,
"b": 24
},
"hsl": {
"h": 46.486,
"s": 69.811,
"l": 31.176
},
"oklch": {
"l": 0.54746,
"c": 0.10337,
"h": 91.4
},
"luminance": 0.16369
}Semantic roles & 50–950 ramp
primary
#876E18
secondary
#405CBB
accent
#63ED3B
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D05
muted
#807E79