#877826#877826
#877826 is a mid, moderate yellow. Relative luminance 0.187; OKLCH L 57.1% C 0.102 H 98.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #877826 |
|---|---|
| RGB | rgb(135, 120, 38) |
| HSL | hsl(51, 56%, 34%) |
| HSV | hsv(51, 72%, 53%) |
| CMYK | cmyk(0%, 11.1%, 71.9%, 47.1%) |
| CIE-LAB | lab(50.36, -4.01, 45.02) |
| CIE-LCH | lch(50.36, 45.20, 95.09°) |
| OKLab | oklab(57.08% -0.0153 0.1005) |
| OKLCH | oklch(57.08% 0.102 98.7) |
| XYZ | xyz(17.0588, 18.7246, 4.5490) |
| Luminance | 0.1872 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.26
Ugly Brown
#7D7103
ΔE00 4.03
Baby Poop
#937C00
ΔE00 4.84
Poo
#8F7303
ΔE00 5.00
Puke Brown
#947706
ΔE00 5.25
Olive
#808000
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877826 #263587
analogous
#874826 #877826 #668726
triadic
#877826 #268778 #782687
tetradic
#877826 #268748 #263587 #872666
square
#877826 #268748 #263587 #872666
split-complementary
#877826 #266687 #482687
monochromatic
#27230B #574E19 #877826 #B7A233 #D0BD58
Accessibility & contrast
On white
4.43
#877826 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#877826 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877826
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877826 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877826 | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84751A
Deuteranopia (green-blind)
#887A2B
Tritanopia (blue-blind)
#926F67
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #877826; /* rgb */ color: rgb(135, 120, 38); /* oklch */ color: oklch(57.1% 0.102 98.7);
Tailwind
colors: {
custom: {
50: '#ad9e66',
500: '#877826',
950: '#000000',
},
}SCSS
$custom: #877826; $custom-light: #ad9e66; $custom-dark: #000000;
JSON
{
"hex": "#877826",
"rgb": {
"r": 135,
"g": 120,
"b": 38
},
"hsl": {
"h": 50.722,
"s": 56.069,
"l": 33.922
},
"oklch": {
"l": 0.57075,
"c": 0.10169,
"h": 98.7
},
"luminance": 0.18724
}Semantic roles & 50–950 ramp
primary
#877826
secondary
#5463B5
accent
#60DF48
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A