#877E24#877E24
#877E24 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.4% C 0.108 H 103.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #877E24 |
|---|---|
| RGB | rgb(135, 126, 36) |
| HSL | hsl(55, 58%, 34%) |
| HSV | hsv(55, 73%, 53%) |
| CMYK | cmyk(0%, 6.7%, 73.3%, 47.1%) |
| CIE-LAB | lab(52.06, -7.46, 47.53) |
| CIE-LCH | lch(52.06, 48.12, 98.92°) |
| OKLab | oklab(58.42% -0.0253 0.1055) |
| OKLCH | oklch(58.42% 0.108 103.5) |
| XYZ | xyz(17.7717, 20.2007, 4.6317) |
| Luminance | 0.2020 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.74
Baby Poop
#937C00
ΔE00 5.23
Ugly Brown
#7D7103
ΔE00 5.25
Hazel
#8E7618
ΔE00 5.34
Drab
#828344
ΔE00 5.98
Shit Green
#758000
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877E24 #242D87
analogous
#874C24 #877E24 #5E8724
triadic
#877E24 #24877E #7E2487
tetradic
#877E24 #24874C #242D87 #87245E
square
#877E24 #24874C #242D87 #87245E
split-complementary
#877E24 #245E87 #4C2487
monochromatic
#26240A #575117 #877E24 #B7AB31 #D1C654
Accessibility & contrast
On white
4.17
#877E24 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#877E24 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877E24
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877E24 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877E24 | 1.00 | 4.17 | 5.04 | 5.04 |
| #FFFFFF | 4.17 | 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)
#8A7A15
Deuteranopia (green-blind)
#8D7E2A
Tritanopia (blue-blind)
#91756C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #877e24; /* rgb */ color: rgb(135, 126, 36); /* oklch */ color: oklch(58.4% 0.108 103.5);
Tailwind
colors: {
custom: {
50: '#ada365',
500: '#877e24',
950: '#000000',
},
}SCSS
$custom: #877e24; $custom-light: #ada365; $custom-dark: #000000;
JSON
{
"hex": "#877e24",
"rgb": {
"r": 135,
"g": 126,
"b": 36
},
"hsl": {
"h": 54.545,
"s": 57.895,
"l": 33.529
},
"oklch": {
"l": 0.5842,
"c": 0.10846,
"h": 103.5
},
"luminance": 0.202
}Semantic roles & 50–950 ramp
primary
#877E24
secondary
#515AB5
accent
#55E147
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A