#877A22#877A22
#877A22 is a mid, moderate yellow. Relative luminance 0.192; OKLCH L 57.5% C 0.106 H 100.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #877A22 |
|---|---|
| RGB | rgb(135, 122, 34) |
| HSL | hsl(52, 60%, 33%) |
| HSV | hsv(52, 75%, 53%) |
| CMYK | cmyk(0%, 9.6%, 74.8%, 47.1%) |
| CIE-LAB | lab(50.90, -5.34, 47.20) |
| CIE-LCH | lch(50.90, 47.50, 96.46°) |
| OKLab | oklab(57.5% -0.0196 0.1044) |
| OKLCH | oklch(57.5% 0.106 100.6) |
| XYZ | xyz(17.2407, 19.1863, 4.3082) |
| Luminance | 0.1918 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Hazel
#8E7618
ΔE00 3.76
Ugly Brown
#7D7103
ΔE00 4.04
Baby Poop
#937C00
ΔE00 4.51
Olive
#808000
ΔE00 4.98
Poo
#8F7303
ΔE00 5.45
Puke Brown
#947706
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#877A22 #222F87
analogous
#874722 #877A22 #618722
triadic
#877A22 #22877A #7A2287
tetradic
#877A22 #228747 #222F87 #872261
square
#877A22 #228747 #222F87 #872261
split-complementary
#877A22 #226187 #472287
monochromatic
#252209 #564E16 #877A22 #B8A62E #D3C250
Accessibility & contrast
On white
4.34
#877A22 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.84
#877A22 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #877A22
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##877A22 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##877A22 | 1.00 | 4.34 | 4.84 | 4.84 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867613
Deuteranopia (green-blind)
#8A7B28
Tritanopia (blue-blind)
#927169
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #877a22; /* rgb */ color: rgb(135, 122, 34); /* oklch */ color: oklch(57.5% 0.106 100.6);
Tailwind
colors: {
custom: {
50: '#ada064',
500: '#877a22',
950: '#000000',
},
}SCSS
$custom: #877a22; $custom-light: #ada064; $custom-dark: #000000;
JSON
{
"hex": "#877a22",
"rgb": {
"r": 135,
"g": 122,
"b": 34
},
"hsl": {
"h": 52.277,
"s": 59.763,
"l": 33.137
},
"oklch": {
"l": 0.57495,
"c": 0.10619,
"h": 100.6
},
"luminance": 0.19185
}Semantic roles & 50–950 ramp
primary
#877A22
secondary
#4E5CB7
accent
#59E345
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A