#877C1B#877C1B
#877C1B is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.9% C 0.112 H 102.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #877C1B |
|---|---|
| RGB | rgb(135, 124, 27) |
| HSL | hsl(54, 67%, 32%) |
| HSV | hsv(54, 80%, 53%) |
| CMYK | cmyk(0%, 8.1%, 80%, 47.1%) |
| CIE-LAB | lab(51.43, -6.77, 50.27) |
| CIE-LCH | lch(51.43, 50.72, 97.67°) |
| OKLab | oklab(57.9% -0.0243 0.1095) |
| OKLCH | oklch(57.9% 0.112 102.5) |
| XYZ | xyz(17.3980, 19.6461, 3.9124) |
| Luminance | 0.1965 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.78
Ugly Brown
#7D7103
ΔE00 4.32
Baby Poop
#937C00
ΔE00 4.34
Hazel
#8E7618
ΔE00 4.50
Puke Brown
#947706
ΔE00 5.92
Poo
#8F7303
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877C1B #1B2687
analogous
#87461B #877C1B #5C871B
triadic
#877C1B #1B877C #7C1B87
tetradic
#877C1B #1B8746 #1B2687 #871B5C
square
#877C1B #1B8746 #1B2687 #871B5C
split-complementary
#877C1B #1B5C87 #461B87
monochromatic
#211E07 #544D11 #877C1B #BAAB25 #D9CA43
Accessibility & contrast
On white
4.26
#877C1B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#877C1B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877C1B
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877C1B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877C1B | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887803
Deuteranopia (green-blind)
#8B7D23
Tritanopia (blue-blind)
#92736A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #877c1b; /* rgb */ color: rgb(135, 124, 27); /* oklch */ color: oklch(57.9% 0.112 102.5);
Tailwind
colors: {
custom: {
50: '#aea160',
500: '#877c1b',
950: '#000000',
},
}SCSS
$custom: #877c1b; $custom-light: #aea160; $custom-dark: #000000;
JSON
{
"hex": "#877c1b",
"rgb": {
"r": 135,
"g": 124,
"b": 27
},
"hsl": {
"h": 53.889,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.57903,
"c": 0.11214,
"h": 102.5
},
"luminance": 0.19645
}Semantic roles & 50–950 ramp
primary
#877C1B
secondary
#4450BA
accent
#50EA3E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79