#877D1D#877D1D
#877D1D is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.1% C 0.112 H 103.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #877D1D |
|---|---|
| RGB | rgb(135, 125, 29) |
| HSL | hsl(54, 65%, 32%) |
| HSV | hsv(54, 79%, 53%) |
| CMYK | cmyk(0%, 7.4%, 78.5%, 47.1%) |
| CIE-LAB | lab(51.73, -7.24, 49.85) |
| CIE-LCH | lch(51.73, 50.38, 98.27°) |
| OKLab | oklab(58.14% -0.0255 0.109) |
| OKLCH | oklch(58.14% 0.112 103.1) |
| XYZ | xyz(17.5479, 19.9076, 4.0804) |
| Luminance | 0.1991 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.54
Baby Poop
#937C00
ΔE00 4.63
Ugly Brown
#7D7103
ΔE00 4.69
Hazel
#8E7618
ΔE00 4.90
Shit Green
#758000
ΔE00 6.16
Puke Brown
#947706
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877D1D #1D2787
analogous
#87481D #877D1D #5C871D
triadic
#877D1D #1D877D #7D1D87
tetradic
#877D1D #1D8748 #1D2787 #871D5C
square
#877D1D #1D8748 #1D2787 #871D5C
split-complementary
#877D1D #1D5C87 #481D87
monochromatic
#222007 #554E12 #877D1D #B9AC28 #D7CA47
Accessibility & contrast
On white
4.22
#877D1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#877D1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877D1D
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877D1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877D1D | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897907
Deuteranopia (green-blind)
#8C7D24
Tritanopia (blue-blind)
#92746B
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #877d1d; /* rgb */ color: rgb(135, 125, 29); /* oklch */ color: oklch(58.1% 0.112 103.1);
Tailwind
colors: {
custom: {
50: '#ada262',
500: '#877d1d',
950: '#000000',
},
}SCSS
$custom: #877d1d; $custom-light: #ada262; $custom-dark: #000000;
JSON
{
"hex": "#877d1d",
"rgb": {
"r": 135,
"g": 125,
"b": 29
},
"hsl": {
"h": 54.34,
"s": 64.634,
"l": 32.157
},
"oklch": {
"l": 0.58143,
"c": 0.11192,
"h": 103.1
},
"luminance": 0.19907
}Semantic roles & 50–950 ramp
primary
#877D1D
secondary
#4651B9
accent
#50E840
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A