#87722F#87722F
#87722F is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.8% C 0.090 H 91.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #87722F |
|---|---|
| RGB | rgb(135, 114, 47) |
| HSL | hsl(46, 48%, 36%) |
| HSV | hsv(46, 65%, 53%) |
| CMYK | cmyk(0%, 15.6%, 65.2%, 47.1%) |
| CIE-LAB | lab(48.75, -0.04, 39.19) |
| CIE-LCH | lch(48.75, 39.19, 90.06°) |
| OKLab | oklab(55.82% -0.0028 0.0897) |
| OKLCH | oklch(55.82% 0.09 91.8) |
| XYZ | xyz(16.5229, 17.3917, 5.1754) |
| Luminance | 0.1739 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.14
Poo
#8F7303
ΔE00 5.26
Muddy Brown
#886806
ΔE00 5.71
Ugly Brown
#7D7103
ΔE00 5.90
Puke Brown
#947706
ΔE00 5.99
Dirt
#8A6E45
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87722F #2F4487
analogous
#87462F #87722F #70872F
triadic
#87722F #2F8772 #722F87
tetradic
#87722F #2F8746 #2F4487 #872F70
square
#87722F #2F8746 #2F4487 #872F70
split-complementary
#87722F #2F7087 #462F87
monochromatic
#2C250F #5A4C1F #87722F #B4983F #CAB266
Accessibility & contrast
On white
4.69
#87722F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#87722F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #87722F
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87722F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##87722F | 1.00 | 4.69 | 4.48 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E7028
Deuteranopia (green-blind)
#837632
Tritanopia (blue-blind)
#926964
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #87722f; /* rgb */ color: rgb(135, 114, 47); /* oklch */ color: oklch(55.8% 0.090 91.8);
Tailwind
colors: {
custom: {
50: '#ad9a6a',
500: '#87722f',
950: '#000000',
},
}SCSS
$custom: #87722f; $custom-light: #ad9a6a; $custom-dark: #000000;
JSON
{
"hex": "#87722f",
"rgb": {
"r": 135,
"g": 114,
"b": 47
},
"hsl": {
"h": 45.682,
"s": 48.352,
"l": 35.686
},
"oklch": {
"l": 0.55824,
"c": 0.08977,
"h": 91.8
},
"luminance": 0.17391
}Semantic roles & 50–950 ramp
primary
#87722F
secondary
#6174B1
accent
#70D850
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E07
muted
#807E7A