#87781E#87781E
#87781E is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 57.0% C 0.107 H 99.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #87781E |
|---|---|
| RGB | rgb(135, 120, 30) |
| HSL | hsl(51, 64%, 32%) |
| HSV | hsv(51, 78%, 53%) |
| CMYK | cmyk(0%, 11.1%, 77.8%, 47.1%) |
| CIE-LAB | lab(50.31, -4.41, 48.17) |
| CIE-LCH | lch(50.31, 48.37, 95.24°) |
| OKLab | oklab(57.01% -0.0174 0.1056) |
| OKLCH | oklch(57.01% 0.107 99.3) |
| XYZ | xyz(16.9433, 18.6784, 3.9409) |
| Luminance | 0.1868 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.00
Ugly Brown
#7D7103
ΔE00 3.46
Baby Poop
#937C00
ΔE00 4.17
Poo
#8F7303
ΔE00 4.60
Puke Brown
#947706
ΔE00 4.85
Olive
#808000
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87781E #1E2D87
analogous
#87441E #87781E #61871E
triadic
#87781E #1E8778 #781E87
tetradic
#87781E #1E8744 #1E2D87 #871E61
square
#87781E #1E8744 #1E2D87 #871E61
split-complementary
#87781E #1E6187 #441E87
monochromatic
#231F08 #554B13 #87781E #B9A529 #D7C249
Accessibility & contrast
On white
4.43
#87781E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#87781E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #87781E
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87781E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##87781E | 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)
#84750C
Deuteranopia (green-blind)
#887A24
Tritanopia (blue-blind)
#926F67
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #87781e; /* rgb */ color: rgb(135, 120, 30); /* oklch */ color: oklch(57.0% 0.107 99.3);
Tailwind
colors: {
custom: {
50: '#ad9e61',
500: '#87781e',
950: '#000000',
},
}SCSS
$custom: #87781e; $custom-light: #ad9e61; $custom-dark: #000000;
JSON
{
"hex": "#87781e",
"rgb": {
"r": 135,
"g": 120,
"b": 30
},
"hsl": {
"h": 51.429,
"s": 63.636,
"l": 32.353
},
"oklch": {
"l": 0.57014,
"c": 0.10703,
"h": 99.3
},
"luminance": 0.18678
}Semantic roles & 50–950 ramp
primary
#87781E
secondary
#4858B9
accent
#59E741
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A