#808621
a dark, vivid yellow · cool · closest name: olive
RGB
128, 134, 33
HSL
64°, 61%, 33%
CMYK
5, 0, 75, 48
Luminance
0.2175
Every format
| HEX | #808621 |
| RGB | rgb(128, 134, 33) |
| HSL | hsl(64, 61%, 33%) |
| CMYK | cmyk(5%, 0%, 75%, 48%) |
| LAB | lab(53.8 -15.2 50.1) |
| LCH | lch(53.8 52.3 106.8) |
| OKLCH | oklch(0.596 0.120 112.9) |
Copy-ready code
/* CSS */
color: #808621;
background-color: #808621;
/* Tailwind (arbitrary) */
class="text-[#808621] bg-[#808621]"
/* SCSS */
$brand: #808621;
/* SwiftUI */
Color(red: 0.502, green: 0.525, blue: 0.129)
/* Android */
Color.parseColor("#808621")Accessibility — WCAG contrast
Aa
#808621 on white: 3.93:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#808621 on black: 5.35:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red50.2%
Green52.5%
Blue12.9%
CMYK percentages
Cyan4.5%
Magenta0.0%
Yellow75.4%
Key (black)47.5%
Color previews
#808621 text on a black background
contrast 5.35:1
Card sample
#808621 text on a white background
contrast 3.93:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #808621;
Background color
Panel with #808621 background
background-color: #808621;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #808621;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(128, 134, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 134, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #808621; background: linear-gradient(135deg, #808621, #3D8621);