#877B1C#877B1C
#877B1C is a mid, moderate yellow. Relative luminance 0.194; OKLCH L 57.7% C 0.111 H 101.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #877B1C |
|---|---|
| RGB | rgb(135, 123, 28) |
| HSL | hsl(53, 66%, 32%) |
| HSV | hsv(53, 79%, 53%) |
| CMYK | cmyk(0%, 8.9%, 79.3%, 47.1%) |
| CIE-LAB | lab(51.15, -6.18, 49.67) |
| CIE-LCH | lch(51.15, 50.05, 97.09°) |
| OKLab | oklab(57.68% -0.0225 0.1084) |
| OKLCH | oklch(57.68% 0.111 101.8) |
| XYZ | xyz(17.2851, 19.4014, 3.9328) |
| Luminance | 0.1940 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 4.04
Hazel
#8E7618
ΔE00 4.10
Olive
#808000
ΔE00 4.22
Baby Poop
#937C00
ΔE00 4.23
Puke Brown
#947706
ΔE00 5.62
Poo
#8F7303
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877B1C #1C2887
analogous
#87461C #877B1C #5E871C
triadic
#877B1C #1C877B #7B1C87
tetradic
#877B1C #1C8746 #1C2887 #871C5E
square
#877B1C #1C8746 #1C2887 #871C5E
split-complementary
#877B1C #1C5E87 #461C87
monochromatic
#221F07 #544D11 #877B1C #BAA927 #D8C845
Accessibility & contrast
On white
4.30
#877B1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#877B1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877B1C
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877B1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877B1C | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877706
Deuteranopia (green-blind)
#8B7C23
Tritanopia (blue-blind)
#927269
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #877b1c; /* rgb */ color: rgb(135, 123, 28); /* oklch */ color: oklch(57.7% 0.111 101.8);
Tailwind
colors: {
custom: {
50: '#ada061',
500: '#877b1c',
950: '#000000',
},
}SCSS
$custom: #877b1c; $custom-light: #ada061; $custom-dark: #000000;
JSON
{
"hex": "#877b1c",
"rgb": {
"r": 135,
"g": 123,
"b": 28
},
"hsl": {
"h": 53.271,
"s": 65.644,
"l": 31.961
},
"oklch": {
"l": 0.57681,
"c": 0.11072,
"h": 101.8
},
"luminance": 0.19401
}Semantic roles & 50–950 ramp
primary
#877B1C
secondary
#4552BA
accent
#52E93F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A