#877B26#877B26
#877B26 is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.8% C 0.104 H 101.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #877B26 |
|---|---|
| RGB | rgb(135, 123, 38) |
| HSL | hsl(53, 56%, 34%) |
| HSV | hsv(53, 72%, 53%) |
| CMYK | cmyk(0%, 8.9%, 71.9%, 47.1%) |
| CIE-LAB | lab(51.22, -5.69, 45.88) |
| CIE-LCH | lch(51.22, 46.23, 97.07°) |
| OKLab | oklab(57.75% -0.0201 0.1024) |
| OKLCH | oklch(57.75% 0.104 101.1) |
| XYZ | xyz(17.4253, 19.4575, 4.6712) |
| Luminance | 0.1946 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 4.22
Ugly Brown
#7D7103
ΔE00 4.51
Baby Poop
#937C00
ΔE00 4.91
Olive
#808000
ΔE00 4.93
Puke Brown
#947706
ΔE00 5.97
Poo
#8F7303
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877B26 #263287
analogous
#874B26 #877B26 #638726
triadic
#877B26 #26877B #7B2687
tetradic
#877B26 #26874B #263287 #872663
square
#877B26 #26874B #263287 #872663
split-complementary
#877B26 #266387 #4B2687
monochromatic
#27240B #574F19 #877B26 #B7A733 #D0C158
Accessibility & contrast
On white
4.29
#877B26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#877B26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877B26
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877B26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877B26 | 1.00 | 4.29 | 4.89 | 4.89 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877719
Deuteranopia (green-blind)
#8A7C2B
Tritanopia (blue-blind)
#92726A
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #877b26; /* rgb */ color: rgb(135, 123, 38); /* oklch */ color: oklch(57.8% 0.104 101.1);
Tailwind
colors: {
custom: {
50: '#ada066',
500: '#877b26',
950: '#000000',
},
}SCSS
$custom: #877b26; $custom-light: #ada066; $custom-dark: #000000;
JSON
{
"hex": "#877b26",
"rgb": {
"r": 135,
"g": 123,
"b": 38
},
"hsl": {
"h": 52.577,
"s": 56.069,
"l": 33.922
},
"oklch": {
"l": 0.57753,
"c": 0.10431,
"h": 101.1
},
"luminance": 0.19457
}Semantic roles & 50–950 ramp
primary
#877B26
secondary
#5460B5
accent
#5BDF48
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A