#87721F#87721F
#87721F is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.7% C 0.102 H 94.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #87721F |
|---|---|
| RGB | rgb(135, 114, 31) |
| HSL | hsl(48, 63%, 33%) |
| HSV | hsv(48, 77%, 53%) |
| CMYK | cmyk(0%, 15.6%, 77%, 47.1%) |
| CIE-LAB | lab(48.62, -0.98, 46.19) |
| CIE-LCH | lch(48.62, 46.20, 91.21°) |
| OKLab | oklab(55.68% -0.0075 0.1016) |
| OKLCH | oklch(55.68% 0.102 94.2) |
| XYZ | xyz(16.2572, 17.2854, 3.7762) |
| Luminance | 0.1728 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.34
Poo
#8F7303
ΔE00 3.33
Ugly Brown
#7D7103
ΔE00 3.98
Puke Brown
#947706
ΔE00 4.33
Muddy Brown
#886806
ΔE00 4.86
Baby Poop
#937C00
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87721F #1F3487
analogous
#873E1F #87721F #68871F
triadic
#87721F #1F8772 #721F87
tetradic
#87721F #1F873E #1F3487 #871F68
square
#87721F #1F873E #1F3487 #871F68
split-complementary
#87721F #1F6887 #3E1F87
monochromatic
#231E08 #554814 #87721F #B99C2A #D6BA4B
Accessibility & contrast
On white
4.71
#87721F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#87721F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #87721F
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87721F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##87721F | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7010
Deuteranopia (green-blind)
#847624
Tritanopia (blue-blind)
#926862
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #87721f; /* rgb */ color: rgb(135, 114, 31); /* oklch */ color: oklch(55.7% 0.102 94.2);
Tailwind
colors: {
custom: {
50: '#ae9a61',
500: '#87721f',
950: '#000000',
},
}SCSS
$custom: #87721f; $custom-light: #ae9a61; $custom-dark: #000000;
JSON
{
"hex": "#87721f",
"rgb": {
"r": 135,
"g": 114,
"b": 31
},
"hsl": {
"h": 47.885,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.55677,
"c": 0.10188,
"h": 94.2
},
"luminance": 0.17284
}Semantic roles & 50–950 ramp
primary
#87721F
secondary
#4A60B8
accent
#63E642
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79