#87781F#87781F
#87781F is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 57.0% C 0.106 H 99.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #87781F |
|---|---|
| RGB | rgb(135, 120, 31) |
| HSL | hsl(51, 63%, 33%) |
| HSV | hsv(51, 77%, 53%) |
| CMYK | cmyk(0%, 11.1%, 77%, 47.1%) |
| CIE-LAB | lab(50.31, -4.37, 47.80) |
| CIE-LCH | lch(50.31, 48.00, 95.22°) |
| OKLab | oklab(57.02% -0.0171 0.105) |
| OKLCH | oklch(57.02% 0.106 99.3) |
| XYZ | xyz(16.9563, 18.6836, 4.0092) |
| Luminance | 0.1868 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.01
Ugly Brown
#7D7103
ΔE00 3.52
Baby Poop
#937C00
ΔE00 4.24
Poo
#8F7303
ΔE00 4.64
Puke Brown
#947706
ΔE00 4.89
Olive
#808000
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87781F #1F2E87
analogous
#87441F #87781F #62871F
triadic
#87781F #1F8778 #781F87
tetradic
#87781F #1F8744 #1F2E87 #871F62
square
#87781F #1F8744 #1F2E87 #871F62
split-complementary
#87781F #1F6287 #441F87
monochromatic
#232008 #554C14 #87781F #B9A42A #D6C24B
Accessibility & contrast
On white
4.43
#87781F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#87781F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #87781F
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87781F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##87781F | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84750E
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#926F67
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #87781f; /* rgb */ color: rgb(135, 120, 31); /* oklch */ color: oklch(57.0% 0.106 99.3);
Tailwind
colors: {
custom: {
50: '#ad9e62',
500: '#87781f',
950: '#000000',
},
}SCSS
$custom: #87781f; $custom-light: #ad9e62; $custom-dark: #000000;
JSON
{
"hex": "#87781f",
"rgb": {
"r": 135,
"g": 120,
"b": 31
},
"hsl": {
"h": 51.346,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.57021,
"c": 0.10642,
"h": 99.3
},
"luminance": 0.18683
}Semantic roles & 50–950 ramp
primary
#87781F
secondary
#4A5AB8
accent
#5AE642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A