#87801D#87801D
#87801D is a mid, moderate yellow. Relative luminance 0.207; OKLCH L 58.8% C 0.115 H 105.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #87801D |
|---|---|
| RGB | rgb(135, 128, 29) |
| HSL | hsl(56, 65%, 32%) |
| HSV | hsv(56, 79%, 53%) |
| CMYK | cmyk(0%, 5.2%, 78.5%, 47.1%) |
| CIE-LAB | lab(52.60, -8.90, 50.65) |
| CIE-LCH | lch(52.60, 51.42, 99.96°) |
| OKLab | oklab(58.83% -0.0301 0.1107) |
| OKLCH | oklch(58.83% 0.115 105.2) |
| XYZ | xyz(17.9334, 20.6787, 4.2089) |
| Luminance | 0.2068 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.68
Shit Green
#758000
ΔE00 5.33
Baby Poop
#937C00
ΔE00 5.38
Ugly Brown
#7D7103
ΔE00 5.77
Hazel
#8E7618
ΔE00 6.13
Poop Green
#6F7C00
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#87801D #1D2487
analogous
#874B1D #87801D #59871D
triadic
#87801D #1D8780 #801D87
tetradic
#87801D #1D874B #1D2487 #871D59
square
#87801D #1D874B #1D2487 #871D59
split-complementary
#87801D #1D5987 #4B1D87
monochromatic
#222007 #555012 #87801D #B9B028 #D7CE47
Accessibility & contrast
On white
4.09
#87801D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#87801D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #87801D
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##87801D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##87801D | 1.00 | 4.09 | 5.14 | 5.14 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B05
Deuteranopia (green-blind)
#8E7F25
Tritanopia (blue-blind)
#92776D
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #87801d; /* rgb */ color: rgb(135, 128, 29); /* oklch */ color: oklch(58.8% 0.115 105.2);
Tailwind
colors: {
custom: {
50: '#ada462',
500: '#87801d',
950: '#000000',
},
}SCSS
$custom: #87801d; $custom-light: #ada462; $custom-dark: #000000;
JSON
{
"hex": "#87801d",
"rgb": {
"r": 135,
"g": 128,
"b": 29
},
"hsl": {
"h": 56.038,
"s": 64.634,
"l": 32.157
},
"oklch": {
"l": 0.5883,
"c": 0.1147,
"h": 105.2
},
"luminance": 0.20678
}Semantic roles & 50–950 ramp
primary
#87801D
secondary
#464EB9
accent
#4BE840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A