#877A2A#877A2A
#877A2A is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.6% C 0.100 H 100.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #877A2A |
|---|---|
| RGB | rgb(135, 122, 42) |
| HSL | hsl(52, 53%, 35%) |
| HSV | hsv(52, 69%, 53%) |
| CMYK | cmyk(0%, 9.6%, 68.9%, 47.1%) |
| CIE-LAB | lab(50.96, -4.90, 43.89) |
| CIE-LCH | lch(50.96, 44.16, 96.37°) |
| OKLab | oklab(57.56% -0.0174 0.0989) |
| OKLCH | oklch(57.56% 0.1 100) |
| XYZ | xyz(17.3699, 19.2379, 4.9884) |
| Luminance | 0.1924 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.06
Ugly Brown
#7D7103
ΔE00 4.64
Baby Poop
#937C00
ΔE00 5.23
Olive
#808000
ΔE00 5.70
Poo
#8F7303
ΔE00 5.87
Puke Brown
#947706
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877A2A #2A3787
analogous
#874C2A #877A2A #66872A
triadic
#877A2A #2A877A #7A2A87
tetradic
#877A2A #2A874C #2A3787 #872A66
square
#877A2A #2A874C #2A3787 #872A66
split-complementary
#877A2A #2A6687 #4C2A87
monochromatic
#2A260D #58501B #877A2A #B6A439 #CDBE5E
Accessibility & contrast
On white
4.33
#877A2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#877A2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877A2A
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877A2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877A2A | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86771F
Deuteranopia (green-blind)
#897C2F
Tritanopia (blue-blind)
#91716A
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #877a2a; /* rgb */ color: rgb(135, 122, 42); /* oklch */ color: oklch(57.6% 0.100 100.0);
Tailwind
colors: {
custom: {
50: '#ada068',
500: '#877a2a',
950: '#000000',
},
}SCSS
$custom: #877a2a; $custom-light: #ada068; $custom-dark: #000000;
JSON
{
"hex": "#877a2a",
"rgb": {
"r": 135,
"g": 122,
"b": 42
},
"hsl": {
"h": 51.613,
"s": 52.542,
"l": 34.706
},
"oklch": {
"l": 0.57562,
"c": 0.10039,
"h": 100
},
"luminance": 0.19237
}Semantic roles & 50–950 ramp
primary
#877A2A
secondary
#5A66B3
accent
#60DC4C
background
#FAF9F6
surface
#F5F2EB
border
#CFCCC6
text
#110E06
muted
#807E7A