#877E1A#877E1A
#877E1A is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.4% C 0.114 H 104.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #877E1A |
|---|---|
| RGB | rgb(135, 126, 26) |
| HSL | hsl(55, 68%, 32%) |
| HSV | hsv(55, 81%, 53%) |
| CMYK | cmyk(0%, 6.7%, 80.7%, 47.1%) |
| CIE-LAB | lab(52.00, -7.92, 51.11) |
| CIE-LCH | lch(52.00, 51.72, 98.80°) |
| OKLab | oklab(58.35% -0.0276 0.1111) |
| OKLCH | oklch(58.35% 0.114 104) |
| XYZ | xyz(17.6398, 20.1479, 3.9369) |
| Luminance | 0.2015 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.04
Baby Poop
#937C00
ΔE00 4.74
Ugly Brown
#7D7103
ΔE00 4.99
Hazel
#8E7618
ΔE00 5.32
Shit Green
#758000
ΔE00 5.80
Puke Brown
#947706
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877E1A #1A2387
analogous
#87481A #877E1A #5A871A
triadic
#877E1A #1A877E #7E1A87
tetradic
#877E1A #1A8748 #1A2387 #871A5A
square
#877E1A #1A8748 #1A2387 #871A5A
split-complementary
#877E1A #1A5A87 #481A87
monochromatic
#201E06 #544E10 #877E1A #BAAE24 #DACE41
Accessibility & contrast
On white
4.18
#877E1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#877E1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877E1A
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877E1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877E1A | 1.00 | 4.18 | 5.03 | 5.03 |
| #FFFFFF | 4.18 | 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)
#8A7900
Deuteranopia (green-blind)
#8D7E22
Tritanopia (blue-blind)
#92756C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #877e1a; /* rgb */ color: rgb(135, 126, 26); /* oklch */ color: oklch(58.4% 0.114 104.0);
Tailwind
colors: {
custom: {
50: '#aea360',
500: '#877e1a',
950: '#000000',
},
}SCSS
$custom: #877e1a; $custom-light: #aea360; $custom-dark: #000000;
JSON
{
"hex": "#877e1a",
"rgb": {
"r": 135,
"g": 126,
"b": 26
},
"hsl": {
"h": 55.046,
"s": 67.702,
"l": 31.569
},
"oklch": {
"l": 0.58354,
"c": 0.11446,
"h": 104
},
"luminance": 0.20147
}Semantic roles & 50–950 ramp
primary
#877E1A
secondary
#424CBA
accent
#4CEB3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110F05
muted
#807E79