#87802F#87802F
#87802F is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.0% C 0.102 H 104.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #87802F |
|---|---|
| RGB | rgb(135, 128, 47) |
| HSL | hsl(55, 48%, 36%) |
| HSV | hsv(55, 65%, 53%) |
| CMYK | cmyk(0%, 5.2%, 65.2%, 47.1%) |
| CIE-LAB | lab(52.72, -7.91, 43.49) |
| CIE-LCH | lch(52.72, 44.20, 100.30°) |
| OKLab | oklab(58.97% -0.0253 0.0988) |
| OKLCH | oklch(58.97% 0.102 104.4) |
| XYZ | xyz(18.2246, 20.7951, 5.7426) |
| Luminance | 0.2079 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 4.43
Olive
#808000
ΔE00 4.54
Shit Green
#758000
ΔE00 6.29
Hazel
#8E7618
ΔE00 6.42
Ugly Brown
#7D7103
ΔE00 6.50
Baby Poop
#937C00
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87802F #2F3687
analogous
#87542F #87802F #62872F
triadic
#87802F #2F8780 #802F87
tetradic
#87802F #2F8754 #2F3687 #872F62
square
#87802F #2F8754 #2F3687 #872F62
split-complementary
#87802F #2F6287 #542F87
monochromatic
#2C2A0F #5A551F #87802F #B4AB3F #CAC266
Accessibility & contrast
On white
4.07
#87802F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#87802F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #87802F
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87802F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##87802F | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7C25
Deuteranopia (green-blind)
#8D8034
Tritanopia (blue-blind)
#91776F
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #87802f; /* rgb */ color: rgb(135, 128, 47); /* oklch */ color: oklch(59.0% 0.102 104.4);
Tailwind
colors: {
custom: {
50: '#ada46c',
500: '#87802f',
950: '#000000',
},
}SCSS
$custom: #87802f; $custom-light: #ada46c; $custom-dark: #000000;
JSON
{
"hex": "#87802f",
"rgb": {
"r": 135,
"g": 128,
"b": 47
},
"hsl": {
"h": 55.227,
"s": 48.352,
"l": 35.686
},
"oklch": {
"l": 0.58973,
"c": 0.10205,
"h": 104.4
},
"luminance": 0.20794
}Semantic roles & 50–950 ramp
primary
#87802F
secondary
#6167B1
accent
#5BD850
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#100F07
muted
#7F7F7A