#87802C#87802C
#87802C is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 58.9% C 0.104 H 104.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #87802C |
|---|---|
| RGB | rgb(135, 128, 44) |
| HSL | hsl(55, 51%, 35%) |
| HSV | hsv(55, 67%, 53%) |
| CMYK | cmyk(0%, 5.2%, 67.4%, 47.1%) |
| CIE-LAB | lab(52.70, -8.10, 44.81) |
| CIE-LCH | lch(52.70, 45.53, 100.25°) |
| OKLab | oklab(58.95% -0.0262 0.1012) |
| OKLCH | oklch(58.95% 0.105 104.5) |
| XYZ | xyz(18.1662, 20.7718, 5.4348) |
| Luminance | 0.2077 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.14
Drab
#828344
ΔE00 4.79
Shit Green
#758000
ΔE00 6.04
Baby Poop
#937C00
ΔE00 6.25
Ugly Brown
#7D7103
ΔE00 6.31
Hazel
#8E7618
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87802C #2C3387
analogous
#87532C #87802C #60872C
triadic
#87802C #2C8780 #802C87
tetradic
#87802C #2C8753 #2C3387 #872C60
square
#87802C #2C8753 #2C3387 #872C60
split-complementary
#87802C #2C6087 #532C87
monochromatic
#2B280E #59541D #87802C #B5AC3B #CCC462
Accessibility & contrast
On white
4.07
#87802C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#87802C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #87802C
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87802C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##87802C | 1.00 | 4.07 | 5.15 | 5.15 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7C21
Deuteranopia (green-blind)
#8E8031
Tritanopia (blue-blind)
#91776F
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #87802c; /* rgb */ color: rgb(135, 128, 44); /* oklch */ color: oklch(58.9% 0.104 104.5);
Tailwind
colors: {
custom: {
50: '#ada46a',
500: '#87802c',
950: '#000000',
},
}SCSS
$custom: #87802c; $custom-light: #ada46a; $custom-dark: #000000;
JSON
{
"hex": "#87802c",
"rgb": {
"r": 135,
"g": 128,
"b": 44
},
"hsl": {
"h": 55.385,
"s": 50.838,
"l": 35.098
},
"oklch": {
"l": 0.58945,
"c": 0.1045,
"h": 104.5
},
"luminance": 0.20771
}Semantic roles & 50–950 ramp
primary
#87802C
secondary
#5D63B2
accent
#58DA4D
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#110F07
muted
#807F7A