#87791F#87791F
#87791F is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.2% C 0.107 H 100.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #87791F |
|---|---|
| RGB | rgb(135, 121, 31) |
| HSL | hsl(52, 63%, 33%) |
| HSV | hsv(52, 77%, 53%) |
| CMYK | cmyk(0%, 10.4%, 77%, 47.1%) |
| CIE-LAB | lab(50.60, -4.93, 48.07) |
| CIE-LCH | lch(50.60, 48.32, 95.86°) |
| OKLab | oklab(57.25% -0.0187 0.1056) |
| OKLCH | oklch(57.25% 0.107 100.1) |
| XYZ | xyz(17.0772, 18.9254, 4.0495) |
| Luminance | 0.1893 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.35
Ugly Brown
#7D7103
ΔE00 3.67
Baby Poop
#937C00
ΔE00 4.24
Poo
#8F7303
ΔE00 4.99
Puke Brown
#947706
ΔE00 5.13
Olive
#808000
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87791F #1F2D87
analogous
#87451F #87791F #61871F
triadic
#87791F #1F8779 #791F87
tetradic
#87791F #1F8745 #1F2D87 #871F61
square
#87791F #1F8745 #1F2D87 #871F61
split-complementary
#87791F #1F6187 #451F87
monochromatic
#232008 #554C14 #87791F #B9A62A #D6C34B
Accessibility & contrast
On white
4.39
#87791F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#87791F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #87791F
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87791F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##87791F | 1.00 | 4.39 | 4.79 | 4.79 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85750E
Deuteranopia (green-blind)
#897B25
Tritanopia (blue-blind)
#927068
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #87791f; /* rgb */ color: rgb(135, 121, 31); /* oklch */ color: oklch(57.2% 0.107 100.1);
Tailwind
colors: {
custom: {
50: '#ad9f62',
500: '#87791f',
950: '#000000',
},
}SCSS
$custom: #87791f; $custom-light: #ad9f62; $custom-dark: #000000;
JSON
{
"hex": "#87791f",
"rgb": {
"r": 135,
"g": 121,
"b": 31
},
"hsl": {
"h": 51.923,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.57247,
"c": 0.10725,
"h": 100.1
},
"luminance": 0.18925
}Semantic roles & 50–950 ramp
primary
#87791F
secondary
#4A58B8
accent
#58E642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A