#877E26#877E26
#877E26 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.4% C 0.107 H 103.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #877E26 |
|---|---|
| RGB | rgb(135, 126, 38) |
| HSL | hsl(54, 56%, 34%) |
| HSV | hsv(54, 72%, 53%) |
| CMYK | cmyk(0%, 6.7%, 71.9%, 47.1%) |
| CIE-LAB | lab(52.08, -7.36, 46.74) |
| CIE-LCH | lch(52.08, 47.31, 98.94°) |
| OKLab | oklab(58.44% -0.0248 0.1042) |
| OKLCH | oklch(58.44% 0.107 103.4) |
| XYZ | xyz(17.8031, 20.2133, 4.7971) |
| Luminance | 0.2021 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.93
Ugly Brown
#7D7103
ΔE00 5.34
Baby Poop
#937C00
ΔE00 5.36
Hazel
#8E7618
ΔE00 5.37
Drab
#828344
ΔE00 5.77
Shit Green
#758000
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877E26 #262F87
analogous
#874E26 #877E26 #608726
triadic
#877E26 #26877E #7E2687
tetradic
#877E26 #26874E #262F87 #872660
square
#877E26 #26874E #262F87 #872660
split-complementary
#877E26 #266087 #4E2687
monochromatic
#27250B #575119 #877E26 #B7AB33 #D0C558
Accessibility & contrast
On white
4.16
#877E26 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#877E26 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877E26
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877E26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877E26 | 1.00 | 4.16 | 5.04 | 5.04 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A18
Deuteranopia (green-blind)
#8C7E2C
Tritanopia (blue-blind)
#91756C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #877e26; /* rgb */ color: rgb(135, 126, 38); /* oklch */ color: oklch(58.4% 0.107 103.4);
Tailwind
colors: {
custom: {
50: '#ada366',
500: '#877e26',
950: '#000000',
},
}SCSS
$custom: #877e26; $custom-light: #ada366; $custom-dark: #000000;
JSON
{
"hex": "#877e26",
"rgb": {
"r": 135,
"g": 126,
"b": 38
},
"hsl": {
"h": 54.433,
"s": 56.069,
"l": 33.922
},
"oklch": {
"l": 0.58436,
"c": 0.10708,
"h": 103.4
},
"luminance": 0.20213
}Semantic roles & 50–950 ramp
primary
#877E26
secondary
#545DB5
accent
#56DF48
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A