#877E1F#877E1F
#877E1F is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.4% C 0.112 H 103.8°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #877E1F |
|---|---|
| RGB | rgb(135, 126, 31) |
| HSL | hsl(55, 63%, 33%) |
| HSV | hsv(55, 77%, 53%) |
| CMYK | cmyk(0%, 6.7%, 77%, 47.1%) |
| CIE-LAB | lab(52.03, -7.71, 49.41) |
| CIE-LCH | lch(52.03, 50.01, 98.87°) |
| OKLab | oklab(58.38% -0.0266 0.1085) |
| OKLCH | oklch(58.38% 0.112 103.8) |
| XYZ | xyz(17.7006, 20.1723, 4.2573) |
| Luminance | 0.2017 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.34
Baby Poop
#937C00
ΔE00 4.94
Ugly Brown
#7D7103
ΔE00 5.08
Hazel
#8E7618
ΔE00 5.30
Shit Green
#758000
ΔE00 5.91
Drab
#828344
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877E1F #1F2887
analogous
#874A1F #877E1F #5C871F
triadic
#877E1F #1F877E #7E1F87
tetradic
#877E1F #1F874A #1F2887 #871F5C
square
#877E1F #1F874A #1F2887 #871F5C
split-complementary
#877E1F #1F5C87 #4A1F87
monochromatic
#232108 #555014 #877E1F #B9AC2A #D6CA4B
Accessibility & contrast
On white
4.17
#877E1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#877E1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877E1F
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877E1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877E1F | 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)
#8A7A0B
Deuteranopia (green-blind)
#8D7E26
Tritanopia (blue-blind)
#92756C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #877e1f; /* rgb */ color: rgb(135, 126, 31); /* oklch */ color: oklch(58.4% 0.112 103.8);
Tailwind
colors: {
custom: {
50: '#ada363',
500: '#877e1f',
950: '#000000',
},
}SCSS
$custom: #877e1f; $custom-light: #ada363; $custom-dark: #000000;
JSON
{
"hex": "#877e1f",
"rgb": {
"r": 135,
"g": 126,
"b": 31
},
"hsl": {
"h": 54.808,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.58384,
"c": 0.11166,
"h": 103.8
},
"luminance": 0.20172
}Semantic roles & 50–950 ramp
primary
#877E1F
secondary
#4A53B8
accent
#50E642
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A