#87701F#87701F
#87701F is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 55.2% C 0.101 H 92.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #87701F |
|---|---|
| RGB | rgb(135, 112, 31) |
| HSL | hsl(47, 63%, 33%) |
| HSV | hsv(47, 77%, 53%) |
| CMYK | cmyk(0%, 17%, 77%, 47.1%) |
| CIE-LAB | lab(48.06, 0.17, 45.65) |
| CIE-LCH | lch(48.06, 45.65, 89.79°) |
| OKLab | oklab(55.23% -0.0042 0.1005) |
| OKLCH | oklch(55.23% 0.101 92.4) |
| XYZ | xyz(16.0341, 16.8391, 3.7018) |
| Luminance | 0.1684 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.85
Poo
#8F7303
ΔE00 3.38
Muddy Brown
#886806
ΔE00 4.00
Puke Brown
#947706
ΔE00 4.57
Ugly Brown
#7D7103
ΔE00 4.60
Baby Poop
#937C00
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87701F #1F3687
analogous
#873C1F #87701F #6A871F
triadic
#87701F #1F8770 #701F87
tetradic
#87701F #1F873C #1F3687 #871F6A
square
#87701F #1F873C #1F3687 #871F6A
split-complementary
#87701F #1F6A87 #3C1F87
monochromatic
#231D08 #554714 #87701F #B9992A #D6B74B
Accessibility & contrast
On white
4.81
#87701F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#87701F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #87701F
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87701F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##87701F | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D6E11
Deuteranopia (green-blind)
#837524
Tritanopia (blue-blind)
#926660
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #87701f; /* rgb */ color: rgb(135, 112, 31); /* oklch */ color: oklch(55.2% 0.101 92.4);
Tailwind
colors: {
custom: {
50: '#ae9861',
500: '#87701f',
950: '#000000',
},
}SCSS
$custom: #87701f; $custom-light: #ae9861; $custom-dark: #000000;
JSON
{
"hex": "#87701f",
"rgb": {
"r": 135,
"g": 112,
"b": 31
},
"hsl": {
"h": 46.731,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.55234,
"c": 0.10055,
"h": 92.4
},
"luminance": 0.16838
}Semantic roles & 50–950 ramp
primary
#87701F
secondary
#4A62B8
accent
#66E642
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79