#87751F#87751F
#87751F is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.3% C 0.104 H 96.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #87751F |
|---|---|
| RGB | rgb(135, 117, 31) |
| HSL | hsl(50, 63%, 33%) |
| HSV | hsv(50, 77%, 53%) |
| CMYK | cmyk(0%, 13.3%, 77%, 47.1%) |
| CIE-LAB | lab(49.46, -2.68, 46.99) |
| CIE-LCH | lch(49.46, 47.07, 93.26°) |
| OKLab | oklab(56.35% -0.0123 0.1033) |
| OKLCH | oklch(56.35% 0.104 96.8) |
| XYZ | xyz(16.6011, 17.9733, 3.8908) |
| Luminance | 0.1797 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.28
Ugly Brown
#7D7103
ΔE00 3.44
Poo
#8F7303
ΔE00 3.77
Puke Brown
#947706
ΔE00 4.38
Baby Poop
#937C00
ΔE00 4.55
Yellowish Brown
#9B7A01
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87751F #1F3187
analogous
#87411F #87751F #65871F
triadic
#87751F #1F8775 #751F87
tetradic
#87751F #1F8741 #1F3187 #871F65
square
#87751F #1F8741 #1F3187 #871F65
split-complementary
#87751F #1F6587 #411F87
monochromatic
#231F08 #554A14 #87751F #B9A02A #D6BE4B
Accessibility & contrast
On white
4.57
#87751F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#87751F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #87751F
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87751F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##87751F | 1.00 | 4.57 | 4.59 | 4.59 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81720F
Deuteranopia (green-blind)
#867824
Tritanopia (blue-blind)
#926C64
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #87751f; /* rgb */ color: rgb(135, 117, 31); /* oklch */ color: oklch(56.3% 0.104 96.8);
Tailwind
colors: {
custom: {
50: '#ad9c62',
500: '#87751f',
950: '#000000',
},
}SCSS
$custom: #87751f; $custom-light: #ad9c62; $custom-dark: #000000;
JSON
{
"hex": "#87751f",
"rgb": {
"r": 135,
"g": 117,
"b": 31
},
"hsl": {
"h": 49.615,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.56346,
"c": 0.10405,
"h": 96.8
},
"luminance": 0.17972
}Semantic roles & 50–950 ramp
primary
#87751F
secondary
#4A5DB8
accent
#5EE642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A