#877D1F#877D1F
#877D1F is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.2% C 0.111 H 103.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #877D1F |
|---|---|
| RGB | rgb(135, 125, 31) |
| HSL | hsl(54, 63%, 33%) |
| HSV | hsv(54, 77%, 53%) |
| CMYK | cmyk(0%, 7.4%, 77%, 47.1%) |
| CIE-LAB | lab(51.74, -7.16, 49.14) |
| CIE-LCH | lch(51.74, 49.66, 98.28°) |
| OKLab | oklab(58.16% -0.025 0.1079) |
| OKLCH | oklch(58.16% 0.111 103.1) |
| XYZ | xyz(17.5734, 19.9178, 4.2149) |
| Luminance | 0.1992 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.66
Baby Poop
#937C00
ΔE00 4.73
Ugly Brown
#7D7103
ΔE00 4.75
Hazel
#8E7618
ΔE00 4.90
Shit Green
#758000
ΔE00 6.22
Puke Brown
#947706
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877D1F #1F2987
analogous
#87491F #877D1F #5D871F
triadic
#877D1F #1F877D #7D1F87
tetradic
#877D1F #1F8749 #1F2987 #871F5D
square
#877D1F #1F8749 #1F2987 #871F5D
split-complementary
#877D1F #1F5D87 #491F87
monochromatic
#232108 #554F14 #877D1F #B9AB2A #D6C84B
Accessibility & contrast
On white
4.21
#877D1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#877D1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877D1F
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877D1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877D1F | 1.00 | 4.21 | 4.98 | 4.98 |
| #FFFFFF | 4.21 | 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)
#89790C
Deuteranopia (green-blind)
#8C7D26
Tritanopia (blue-blind)
#92746B
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #877d1f; /* rgb */ color: rgb(135, 125, 31); /* oklch */ color: oklch(58.2% 0.111 103.1);
Tailwind
colors: {
custom: {
50: '#ada262',
500: '#877d1f',
950: '#000000',
},
}SCSS
$custom: #877d1f; $custom-light: #ada262; $custom-dark: #000000;
JSON
{
"hex": "#877d1f",
"rgb": {
"r": 135,
"g": 125,
"b": 31
},
"hsl": {
"h": 54.231,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.58156,
"c": 0.11075,
"h": 103.1
},
"luminance": 0.19917
}Semantic roles & 50–950 ramp
primary
#877D1F
secondary
#4A54B8
accent
#52E642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A