#877A1A#877A1A
#877A1A is a mid, moderate yellow. Relative luminance 0.191; OKLCH L 57.4% C 0.111 H 101.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #877A1A |
|---|---|
| RGB | rgb(135, 122, 26) |
| HSL | hsl(53, 68%, 32%) |
| HSV | hsv(53, 81%, 53%) |
| CMYK | cmyk(0%, 9.6%, 80.7%, 47.1%) |
| CIE-LAB | lab(50.86, -5.70, 50.09) |
| CIE-LCH | lch(50.86, 50.41, 96.49°) |
| OKLab | oklab(57.44% -0.0214 0.1089) |
| OKLCH | oklch(57.44% 0.111 101.1) |
| XYZ | xyz(17.1385, 19.1454, 3.7698) |
| Luminance | 0.1915 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.71
Hazel
#8E7618
ΔE00 3.72
Baby Poop
#937C00
ΔE00 4.01
Olive
#808000
ΔE00 4.52
Poo
#8F7303
ΔE00 5.23
Puke Brown
#947706
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877A1A #1A2787
analogous
#87441A #877A1A #5E871A
triadic
#877A1A #1A877A #7A1A87
tetradic
#877A1A #1A8744 #1A2787 #871A5E
square
#877A1A #1A8744 #1A2787 #871A5E
split-complementary
#877A1A #1A5E87 #441A87
monochromatic
#201D06 #544C10 #877A1A #BAA824 #DAC841
Accessibility & contrast
On white
4.35
#877A1A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#877A1A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877A1A
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877A1A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877A1A | 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)
#867602
Deuteranopia (green-blind)
#8A7B21
Tritanopia (blue-blind)
#927168
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #877a1a; /* rgb */ color: rgb(135, 122, 26); /* oklch */ color: oklch(57.4% 0.111 101.1);
Tailwind
colors: {
custom: {
50: '#aea060',
500: '#877a1a',
950: '#000000',
},
}SCSS
$custom: #877a1a; $custom-light: #aea060; $custom-dark: #000000;
JSON
{
"hex": "#877a1a",
"rgb": {
"r": 135,
"g": 122,
"b": 26
},
"hsl": {
"h": 52.844,
"s": 67.702,
"l": 31.569
},
"oklch": {
"l": 0.57442,
"c": 0.11095,
"h": 101.1
},
"luminance": 0.19145
}Semantic roles & 50–950 ramp
primary
#877A1A
secondary
#4251BA
accent
#52EB3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79