#877E1B#877E1B
#877E1B is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.4% C 0.114 H 103.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #877E1B |
|---|---|
| RGB | rgb(135, 126, 27) |
| HSL | hsl(55, 67%, 32%) |
| HSV | hsv(55, 80%, 53%) |
| CMYK | cmyk(0%, 6.7%, 80%, 47.1%) |
| CIE-LAB | lab(52.01, -7.88, 50.79) |
| CIE-LCH | lch(52.01, 51.40, 98.82°) |
| OKLab | oklab(58.36% -0.0274 0.1106) |
| OKLCH | oklch(58.36% 0.114 103.9) |
| XYZ | xyz(17.6512, 20.1525, 3.9968) |
| Luminance | 0.2015 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.10
Baby Poop
#937C00
ΔE00 4.77
Ugly Brown
#7D7103
ΔE00 5.00
Hazel
#8E7618
ΔE00 5.31
Shit Green
#758000
ΔE00 5.82
Puke Brown
#947706
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877E1B #1B2487
analogous
#87481B #877E1B #5A871B
triadic
#877E1B #1B877E #7E1B87
tetradic
#877E1B #1B8748 #1B2487 #871B5A
square
#877E1B #1B8748 #1B2487 #871B5A
split-complementary
#877E1B #1B5A87 #481B87
monochromatic
#211F07 #544E11 #877E1B #BAAE25 #D9CD43
Accessibility & contrast
On white
4.17
#877E1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#877E1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877E1B
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877E1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877E1B | 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)
#8A7902
Deuteranopia (green-blind)
#8D7E23
Tritanopia (blue-blind)
#92756C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #877e1b; /* rgb */ color: rgb(135, 126, 27); /* oklch */ color: oklch(58.4% 0.114 103.9);
Tailwind
colors: {
custom: {
50: '#ada361',
500: '#877e1b',
950: '#000000',
},
}SCSS
$custom: #877e1b; $custom-light: #ada361; $custom-dark: #000000;
JSON
{
"hex": "#877e1b",
"rgb": {
"r": 135,
"g": 126,
"b": 27
},
"hsl": {
"h": 55,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.58359,
"c": 0.11393,
"h": 103.9
},
"luminance": 0.20152
}Semantic roles & 50–950 ramp
primary
#877E1B
secondary
#444EBA
accent
#4CEA3E
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A