#808821
a dark, vivid yellow · cool · closest name: olive
RGB
128, 136, 33
HSL
65°, 61%, 33%
CMYK
6, 0, 76, 47
Luminance
0.2231
Every format
| HEX | #808821 |
| RGB | rgb(128, 136, 33) |
| HSL | hsl(65, 61%, 33%) |
| CMYK | cmyk(6%, 0%, 76%, 47%) |
| LAB | lab(54.4 -16.2 50.7) |
| LCH | lch(54.4 53.2 107.7) |
| OKLCH | oklch(0.601 0.122 114.0) |
Copy-ready code
/* CSS */
color: #808821;
background-color: #808821;
/* Tailwind (arbitrary) */
class="text-[#808821] bg-[#808821]"
/* SCSS */
$brand: #808821;
/* SwiftUI */
Color(red: 0.502, green: 0.533, blue: 0.129)
/* Android */
Color.parseColor("#808821")Accessibility — WCAG contrast
Aa
#808821 on white: 3.85:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#808821 on black: 5.46:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red50.2%
Green53.3%
Blue12.9%
CMYK percentages
Cyan5.9%
Magenta0.0%
Yellow75.7%
Key (black)46.7%
Color previews
#808821 text on a black background
contrast 5.46:1
Card sample
#808821 text on a white background
contrast 3.85:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #808821;
Background color
Panel with #808821 background
background-color: #808821;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #808821;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(128, 136, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 136, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #808821; background: linear-gradient(135deg, #808821, #3B8821);