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