#877C26#877C26
#877C26 is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.0% C 0.105 H 101.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #877C26 |
|---|---|
| RGB | rgb(135, 124, 38) |
| HSL | hsl(53, 56%, 34%) |
| HSV | hsv(53, 72%, 53%) |
| CMYK | cmyk(0%, 8.1%, 71.9%, 47.1%) |
| CIE-LAB | lab(51.50, -6.25, 46.17) |
| CIE-LCH | lch(51.50, 46.59, 97.71°) |
| OKLab | oklab(57.98% -0.0217 0.103) |
| OKLCH | oklch(57.98% 0.105 101.9) |
| XYZ | xyz(17.5499, 19.7069, 4.7127) |
| Luminance | 0.1971 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.57
Hazel
#8E7618
ΔE00 4.59
Ugly Brown
#7D7103
ΔE00 4.76
Baby Poop
#937C00
ΔE00 5.02
Drab
#828344
ΔE00 6.15
Puke Brown
#947706
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877C26 #263187
analogous
#874C26 #877C26 #628726
triadic
#877C26 #26877C #7C2687
tetradic
#877C26 #26874C #263187 #872662
square
#877C26 #26874C #263187 #872662
split-complementary
#877C26 #266287 #4C2687
monochromatic
#27240B #575019 #877C26 #B7A833 #D0C258
Accessibility & contrast
On white
4.25
#877C26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#877C26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877C26
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877C26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877C26 | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887819
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#91736B
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #877c26; /* rgb */ color: rgb(135, 124, 38); /* oklch */ color: oklch(58.0% 0.105 101.9);
Tailwind
colors: {
custom: {
50: '#ada166',
500: '#877c26',
950: '#000000',
},
}SCSS
$custom: #877c26; $custom-light: #ada166; $custom-dark: #000000;
JSON
{
"hex": "#877c26",
"rgb": {
"r": 135,
"g": 124,
"b": 38
},
"hsl": {
"h": 53.196,
"s": 56.069,
"l": 33.922
},
"oklch": {
"l": 0.5798,
"c": 0.10521,
"h": 101.9
},
"luminance": 0.19706
}Semantic roles & 50–950 ramp
primary
#877C26
secondary
#545FB5
accent
#5ADF48
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A