#877A1B#877A1B
#877A1B is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.4% C 0.110 H 101.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #877A1B |
|---|---|
| RGB | rgb(135, 122, 27) |
| HSL | hsl(53, 67%, 32%) |
| HSV | hsv(53, 80%, 53%) |
| CMYK | cmyk(0%, 9.6%, 80%, 47.1%) |
| CIE-LAB | lab(50.86, -5.66, 49.75) |
| CIE-LCH | lch(50.86, 50.07, 96.49°) |
| OKLab | oklab(57.45% -0.0212 0.1084) |
| OKLCH | oklch(57.45% 0.11 101.1) |
| XYZ | xyz(17.1499, 19.1499, 3.8297) |
| Luminance | 0.1915 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.71
Ugly Brown
#7D7103
ΔE00 3.74
Baby Poop
#937C00
ΔE00 4.06
Olive
#808000
ΔE00 4.57
Poo
#8F7303
ΔE00 5.25
Puke Brown
#947706
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877A1B #1B2887
analogous
#87441B #877A1B #5E871B
triadic
#877A1B #1B877A #7A1B87
tetradic
#877A1B #1B8744 #1B2887 #871B5E
square
#877A1B #1B8744 #1B2887 #871B5E
split-complementary
#877A1B #1B5E87 #441B87
monochromatic
#211E07 #544C11 #877A1B #BAA825 #D9C743
Accessibility & contrast
On white
4.35
#877A1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#877A1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877A1B
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877A1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877A1B | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867604
Deuteranopia (green-blind)
#8A7B22
Tritanopia (blue-blind)
#927168
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #877a1b; /* rgb */ color: rgb(135, 122, 27); /* oklch */ color: oklch(57.4% 0.110 101.1);
Tailwind
colors: {
custom: {
50: '#aea060',
500: '#877a1b',
950: '#000000',
},
}SCSS
$custom: #877a1b; $custom-light: #aea060; $custom-dark: #000000;
JSON
{
"hex": "#877a1b",
"rgb": {
"r": 135,
"g": 122,
"b": 27
},
"hsl": {
"h": 52.778,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.57448,
"c": 0.11041,
"h": 101.1
},
"luminance": 0.19149
}Semantic roles & 50–950 ramp
primary
#877A1B
secondary
#4452BA
accent
#53EA3E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79