#878621
a dark, vivid yellow · cool · closest name: olive
RGB
135, 134, 33
HSL
59°, 61%, 33%
CMYK
0, 1, 76, 47
Luminance
0.2231
Every format
| HEX | #878621 |
| RGB | rgb(135, 134, 33) |
| HSL | hsl(59, 61%, 33%) |
| CMYK | cmyk(0%, 1%, 76%, 47%) |
| LAB | lab(54.4 -12.0 50.9) |
| LCH | lch(54.4 52.3 103.3) |
| OKLCH | oklch(0.602 0.118 108.9) |
Copy-ready code
/* CSS */
color: #878621;
background-color: #878621;
/* Tailwind (arbitrary) */
class="text-[#878621] bg-[#878621]"
/* SCSS */
$brand: #878621;
/* SwiftUI */
Color(red: 0.529, green: 0.525, blue: 0.129)
/* Android */
Color.parseColor("#878621")Accessibility — WCAG contrast
Aa
#878621 on white: 3.84:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#878621 on black: 5.46:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red52.9%
Green52.5%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta0.7%
Yellow75.6%
Key (black)47.1%
Color previews
#878621 text on a black background
contrast 5.46:1
Card sample
#878621 text on a white background
contrast 3.84:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #878621;
Background color
Panel with #878621 background
background-color: #878621;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #878621;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(135, 134, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(135, 134, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #878621; background: linear-gradient(135deg, #878621, #448721);