#877D1B#877D1B
#877D1B is a mid, moderate yellow. Relative luminance 0.199; OKLCH L 58.1% C 0.113 H 103.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #877D1B |
|---|---|
| RGB | rgb(135, 125, 27) |
| HSL | hsl(54, 67%, 32%) |
| HSV | hsv(54, 80%, 53%) |
| CMYK | cmyk(0%, 7.4%, 80%, 47.1%) |
| CIE-LAB | lab(51.72, -7.33, 50.53) |
| CIE-LCH | lch(51.72, 51.06, 98.25°) |
| OKLab | oklab(58.13% -0.0259 0.11) |
| OKLCH | oklch(58.13% 0.113 103.2) |
| XYZ | xyz(17.5239, 19.8980, 3.9543) |
| Luminance | 0.1990 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.43
Baby Poop
#937C00
ΔE00 4.54
Ugly Brown
#7D7103
ΔE00 4.65
Hazel
#8E7618
ΔE00 4.91
Shit Green
#758000
ΔE00 6.12
Puke Brown
#947706
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877D1B #1B2587
analogous
#87471B #877D1B #5B871B
triadic
#877D1B #1B877D #7D1B87
tetradic
#877D1B #1B8747 #1B2587 #871B5B
square
#877D1B #1B8747 #1B2587 #871B5B
split-complementary
#877D1B #1B5B87 #471B87
monochromatic
#211F07 #544E11 #877D1B #BAAC25 #D9CB43
Accessibility & contrast
On white
4.22
#877D1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#877D1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877D1B
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877D1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877D1B | 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)
#897902
Deuteranopia (green-blind)
#8C7D23
Tritanopia (blue-blind)
#92746B
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #877d1b; /* rgb */ color: rgb(135, 125, 27); /* oklch */ color: oklch(58.1% 0.113 103.2);
Tailwind
colors: {
custom: {
50: '#ada261',
500: '#877d1b',
950: '#000000',
},
}SCSS
$custom: #877d1b; $custom-light: #ada261; $custom-dark: #000000;
JSON
{
"hex": "#877d1b",
"rgb": {
"r": 135,
"g": 125,
"b": 27
},
"hsl": {
"h": 54.444,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.58131,
"c": 0.11303,
"h": 103.2
},
"luminance": 0.19897
}Semantic roles & 50–950 ramp
primary
#877D1B
secondary
#444FBA
accent
#4EEA3E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A