#877C1A#877C1A
#877C1A is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 57.9% C 0.113 H 102.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #877C1A |
|---|---|
| RGB | rgb(135, 124, 26) |
| HSL | hsl(54, 68%, 32%) |
| HSV | hsv(54, 81%, 53%) |
| CMYK | cmyk(0%, 8.1%, 80.7%, 47.1%) |
| CIE-LAB | lab(51.43, -6.81, 50.60) |
| CIE-LCH | lch(51.43, 51.06, 97.67°) |
| OKLab | oklab(57.9% -0.0245 0.11) |
| OKLCH | oklch(57.9% 0.113 102.6) |
| XYZ | xyz(17.3866, 19.6416, 3.8525) |
| Luminance | 0.1964 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.74
Baby Poop
#937C00
ΔE00 4.30
Ugly Brown
#7D7103
ΔE00 4.30
Hazel
#8E7618
ΔE00 4.51
Puke Brown
#947706
ΔE00 5.90
Poo
#8F7303
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877C1A #1A2587
analogous
#87461A #877C1A #5C871A
triadic
#877C1A #1A877C #7C1A87
tetradic
#877C1A #1A8746 #1A2587 #871A5C
square
#877C1A #1A8746 #1A2587 #871A5C
split-complementary
#877C1A #1A5C87 #461A87
monochromatic
#201E06 #544D10 #877C1A #BAAB24 #DACB41
Accessibility & contrast
On white
4.26
#877C1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#877C1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877C1A
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877C1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877C1A | 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)
#887801
Deuteranopia (green-blind)
#8B7D22
Tritanopia (blue-blind)
#92736A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #877c1a; /* rgb */ color: rgb(135, 124, 26); /* oklch */ color: oklch(57.9% 0.113 102.6);
Tailwind
colors: {
custom: {
50: '#aea160',
500: '#877c1a',
950: '#000000',
},
}SCSS
$custom: #877c1a; $custom-light: #aea160; $custom-dark: #000000;
JSON
{
"hex": "#877c1a",
"rgb": {
"r": 135,
"g": 124,
"b": 26
},
"hsl": {
"h": 53.945,
"s": 67.702,
"l": 31.569
},
"oklch": {
"l": 0.57897,
"c": 0.11267,
"h": 102.6
},
"luminance": 0.19641
}Semantic roles & 50–950 ramp
primary
#877C1A
secondary
#424FBA
accent
#4FEB3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79