#877E22#877E22
#877E22 is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.4% C 0.110 H 103.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #877E22 |
|---|---|
| RGB | rgb(135, 126, 34) |
| HSL | hsl(55, 60%, 33%) |
| HSV | hsv(55, 75%, 53%) |
| CMYK | cmyk(0%, 6.7%, 74.8%, 47.1%) |
| CIE-LAB | lab(52.05, -7.57, 48.31) |
| CIE-LCH | lch(52.05, 48.90, 98.90°) |
| OKLab | oklab(58.4% -0.0258 0.1067) |
| OKLCH | oklch(58.4% 0.11 103.6) |
| XYZ | xyz(17.7420, 20.1888, 4.4753) |
| Luminance | 0.2019 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.57
Baby Poop
#937C00
ΔE00 5.10
Ugly Brown
#7D7103
ΔE00 5.17
Hazel
#8E7618
ΔE00 5.32
Shit Green
#758000
ΔE00 6.02
Drab
#828344
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877E22 #222B87
analogous
#874B22 #877E22 #5E8722
triadic
#877E22 #22877E #7E2287
tetradic
#877E22 #22874B #222B87 #87225E
square
#877E22 #22874B #222B87 #87225E
split-complementary
#877E22 #225E87 #4B2287
monochromatic
#252309 #565016 #877E22 #B8AC2E #D3C750
Accessibility & contrast
On white
4.17
#877E22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.04
#877E22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877E22
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877E22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877E22 | 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)
#8A7A12
Deuteranopia (green-blind)
#8D7E28
Tritanopia (blue-blind)
#92756C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #877e22; /* rgb */ color: rgb(135, 126, 34); /* oklch */ color: oklch(58.4% 0.110 103.6);
Tailwind
colors: {
custom: {
50: '#ada364',
500: '#877e22',
950: '#000000',
},
}SCSS
$custom: #877e22; $custom-light: #ada364; $custom-dark: #000000;
JSON
{
"hex": "#877e22",
"rgb": {
"r": 135,
"g": 126,
"b": 34
},
"hsl": {
"h": 54.653,
"s": 59.763,
"l": 33.137
},
"oklch": {
"l": 0.58405,
"c": 0.1098,
"h": 103.6
},
"luminance": 0.20188
}Semantic roles & 50–950 ramp
primary
#877E22
secondary
#4E58B7
accent
#53E345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A