#877E29#877E29
#877E29 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.5% C 0.105 H 103.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #877E29 |
|---|---|
| RGB | rgb(135, 126, 41) |
| HSL | hsl(54, 53%, 35%) |
| HSV | hsv(54, 70%, 53%) |
| CMYK | cmyk(0%, 6.7%, 69.6%, 47.1%) |
| CIE-LAB | lab(52.10, -7.18, 45.50) |
| CIE-LCH | lch(52.10, 46.06, 98.97°) |
| OKLab | oklab(58.46% -0.024 0.1021) |
| OKLCH | oklch(58.46% 0.105 103.2) |
| XYZ | xyz(17.8535, 20.2334, 5.0624) |
| Luminance | 0.2023 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 4.25
Hazel
#8E7618
ΔE00 5.44
Drab
#828344
ΔE00 5.44
Ugly Brown
#7D7103
ΔE00 5.50
Baby Poop
#937C00
ΔE00 5.59
Shit Green
#758000
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877E29 #293287
analogous
#874F29 #877E29 #618729
triadic
#877E29 #29877E #7E2987
tetradic
#877E29 #29874F #293287 #872961
square
#877E29 #29874F #293287 #872961
split-complementary
#877E29 #296187 #4F2987
monochromatic
#29260C #58521B #877E29 #B6AA37 #CEC35D
Accessibility & contrast
On white
4.16
#877E29 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#877E29 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877E29
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877E29 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877E29 | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897A1D
Deuteranopia (green-blind)
#8C7E2E
Tritanopia (blue-blind)
#91756D
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #877e29; /* rgb */ color: rgb(135, 126, 41); /* oklch */ color: oklch(58.5% 0.105 103.2);
Tailwind
colors: {
custom: {
50: '#ada368',
500: '#877e29',
950: '#000000',
},
}SCSS
$custom: #877e29; $custom-light: #ada368; $custom-dark: #000000;
JSON
{
"hex": "#877e29",
"rgb": {
"r": 135,
"g": 126,
"b": 41
},
"hsl": {
"h": 54.255,
"s": 53.409,
"l": 34.51
},
"oklch": {
"l": 0.58461,
"c": 0.10487,
"h": 103.2
},
"luminance": 0.20233
}Semantic roles & 50–950 ramp
primary
#877E29
secondary
#5961B3
accent
#59DD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A