#87791E#87791E
#87791E is a mid, moderate yellow. Relative luminance 0.189; OKLCH L 57.2% C 0.108 H 100.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #87791E |
|---|---|
| RGB | rgb(135, 121, 30) |
| HSL | hsl(52, 64%, 32%) |
| HSV | hsv(52, 78%, 53%) |
| CMYK | cmyk(0%, 10.4%, 77.8%, 47.1%) |
| CIE-LAB | lab(50.59, -4.97, 48.44) |
| CIE-LCH | lch(50.59, 48.69, 95.86°) |
| OKLab | oklab(57.24% -0.019 0.1062) |
| OKLCH | oklch(57.24% 0.108 100.1) |
| XYZ | xyz(17.0642, 18.9202, 3.9812) |
| Luminance | 0.1892 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.34
Ugly Brown
#7D7103
ΔE00 3.63
Baby Poop
#937C00
ΔE00 4.17
Poo
#8F7303
ΔE00 4.95
Puke Brown
#947706
ΔE00 5.10
Olive
#808000
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87791E #1E2C87
analogous
#87451E #87791E #61871E
triadic
#87791E #1E8779 #791E87
tetradic
#87791E #1E8745 #1E2C87 #871E61
square
#87791E #1E8745 #1E2C87 #871E61
split-complementary
#87791E #1E6187 #451E87
monochromatic
#231F08 #554C13 #87791E #B9A629 #D7C449
Accessibility & contrast
On white
4.39
#87791E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#87791E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #87791E
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87791E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##87791E | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85750C
Deuteranopia (green-blind)
#897B24
Tritanopia (blue-blind)
#927068
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #87791e; /* rgb */ color: rgb(135, 121, 30); /* oklch */ color: oklch(57.2% 0.108 100.1);
Tailwind
colors: {
custom: {
50: '#ad9f62',
500: '#87791e',
950: '#000000',
},
}SCSS
$custom: #87791e; $custom-light: #ad9f62; $custom-dark: #000000;
JSON
{
"hex": "#87791e",
"rgb": {
"r": 135,
"g": 121,
"b": 30
},
"hsl": {
"h": 52,
"s": 63.636,
"l": 32.353
},
"oklch": {
"l": 0.5724,
"c": 0.10786,
"h": 100.1
},
"luminance": 0.18919
}Semantic roles & 50–950 ramp
primary
#87791E
secondary
#4857B9
accent
#57E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A