#877E1D#877E1D
#877E1D is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.4% C 0.113 H 103.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #877E1D |
|---|---|
| RGB | rgb(135, 126, 29) |
| HSL | hsl(55, 65%, 32%) |
| HSV | hsv(55, 79%, 53%) |
| CMYK | cmyk(0%, 6.7%, 78.5%, 47.1%) |
| CIE-LAB | lab(52.02, -7.80, 50.12) |
| CIE-LCH | lch(52.02, 50.72, 98.84°) |
| OKLab | oklab(58.37% -0.027 0.1096) |
| OKLCH | oklch(58.37% 0.113 103.9) |
| XYZ | xyz(17.6751, 20.1621, 4.1228) |
| Luminance | 0.2016 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.21
Baby Poop
#937C00
ΔE00 4.85
Ugly Brown
#7D7103
ΔE00 5.04
Hazel
#8E7618
ΔE00 5.31
Shit Green
#758000
ΔE00 5.86
Puke Brown
#947706
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877E1D #1D2687
analogous
#87491D #877E1D #5B871D
triadic
#877E1D #1D877E #7E1D87
tetradic
#877E1D #1D8749 #1D2687 #871D5B
square
#877E1D #1D8749 #1D2687 #871D5B
split-complementary
#877E1D #1D5B87 #491D87
monochromatic
#222007 #554F12 #877E1D #B9AD28 #D7CB47
Accessibility & contrast
On white
4.17
#877E1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#877E1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877E1D
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877E1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877E1D | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A06
Deuteranopia (green-blind)
#8D7E24
Tritanopia (blue-blind)
#92756C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #877e1d; /* rgb */ color: rgb(135, 126, 29); /* oklch */ color: oklch(58.4% 0.113 103.9);
Tailwind
colors: {
custom: {
50: '#ada362',
500: '#877e1d',
950: '#000000',
},
}SCSS
$custom: #877e1d; $custom-light: #ada362; $custom-dark: #000000;
JSON
{
"hex": "#877e1d",
"rgb": {
"r": 135,
"g": 126,
"b": 29
},
"hsl": {
"h": 54.906,
"s": 64.634,
"l": 32.157
},
"oklch": {
"l": 0.58371,
"c": 0.11283,
"h": 103.9
},
"luminance": 0.20161
}Semantic roles & 50–950 ramp
primary
#877E1D
secondary
#4650B9
accent
#4EE840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A