#87741F#87741F
#87741F is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 56.1% C 0.103 H 96.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #87741F |
|---|---|
| RGB | rgb(135, 116, 31) |
| HSL | hsl(49, 63%, 33%) |
| HSV | hsv(49, 77%, 53%) |
| CMYK | cmyk(0%, 14.1%, 77%, 47.1%) |
| CIE-LAB | lab(49.18, -2.11, 46.72) |
| CIE-LCH | lch(49.18, 46.77, 92.59°) |
| OKLab | oklab(56.12% -0.0107 0.1027) |
| OKLCH | oklch(56.12% 0.103 96) |
| XYZ | xyz(16.4853, 17.7415, 3.8522) |
| Luminance | 0.1774 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 2.20
Ugly Brown
#7D7103
ΔE00 3.56
Poo
#8F7303
ΔE00 3.56
Puke Brown
#947706
ΔE00 4.31
Baby Poop
#937C00
ΔE00 4.75
Muddy Brown
#886806
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87741F #1F3287
analogous
#87401F #87741F #66871F
triadic
#87741F #1F8774 #741F87
tetradic
#87741F #1F8740 #1F3287 #871F66
square
#87741F #1F8740 #1F3287 #871F66
split-complementary
#87741F #1F6687 #401F87
monochromatic
#231E08 #554914 #87741F #B99F2A #D6BC4B
Accessibility & contrast
On white
4.62
#87741F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#87741F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #87741F
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87741F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##87741F | 1.00 | 4.62 | 4.55 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817110
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#926B63
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #87741f; /* rgb */ color: rgb(135, 116, 31); /* oklch */ color: oklch(56.1% 0.103 96.0);
Tailwind
colors: {
custom: {
50: '#ad9b61',
500: '#87741f',
950: '#000000',
},
}SCSS
$custom: #87741f; $custom-light: #ad9b61; $custom-dark: #000000;
JSON
{
"hex": "#87741f",
"rgb": {
"r": 135,
"g": 116,
"b": 31
},
"hsl": {
"h": 49.038,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.56123,
"c": 0.1033,
"h": 96
},
"luminance": 0.17741
}Semantic roles & 50–950 ramp
primary
#87741F
secondary
#4A5EB8
accent
#60E642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A