#877726#877726
#877726 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.9% C 0.101 H 97.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #877726 |
|---|---|
| RGB | rgb(135, 119, 38) |
| HSL | hsl(50, 56%, 34%) |
| HSV | hsv(50, 72%, 53%) |
| CMYK | cmyk(0%, 11.9%, 71.9%, 47.1%) |
| CIE-LAB | lab(50.08, -3.45, 44.74) |
| CIE-LCH | lch(50.08, 44.87, 94.41°) |
| OKLab | oklab(56.85% -0.0137 0.0999) |
| OKLCH | oklch(56.85% 0.101 97.8) |
| XYZ | xyz(16.9392, 18.4853, 4.5091) |
| Luminance | 0.1848 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.01
Ugly Brown
#7D7103
ΔE00 3.98
Poo
#8F7303
ΔE00 4.73
Baby Poop
#937C00
ΔE00 4.91
Puke Brown
#947706
ΔE00 5.08
Olive
#808000
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877726 #263687
analogous
#874726 #877726 #678726
triadic
#877726 #268777 #772687
tetradic
#877726 #268747 #263687 #872667
square
#877726 #268747 #263687 #872667
split-complementary
#877726 #266787 #472687
monochromatic
#27230B #574D19 #877726 #B7A133 #D0BC58
Accessibility & contrast
On white
4.47
#877726 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#877726 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877726
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877726 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877726 | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83741A
Deuteranopia (green-blind)
#87792B
Tritanopia (blue-blind)
#926E67
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #877726; /* rgb */ color: rgb(135, 119, 38); /* oklch */ color: oklch(56.9% 0.101 97.8);
Tailwind
colors: {
custom: {
50: '#ad9d66',
500: '#877726',
950: '#000000',
},
}SCSS
$custom: #877726; $custom-light: #ad9d66; $custom-dark: #000000;
JSON
{
"hex": "#877726",
"rgb": {
"r": 135,
"g": 119,
"b": 38
},
"hsl": {
"h": 50.103,
"s": 56.069,
"l": 33.922
},
"oklch": {
"l": 0.5685,
"c": 0.10087,
"h": 97.8
},
"luminance": 0.18484
}Semantic roles & 50–950 ramp
primary
#877726
secondary
#5464B5
accent
#61DF48
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A