#806421
a dark, vivid yellow · warm · closest name: olive
RGB
128, 100, 33
HSL
42°, 59%, 32%
CMYK
0, 22, 74, 50
Luminance
0.1381
Every format
| HEX | #806421 |
| RGB | rgb(128, 100, 33) |
| HSL | hsl(42, 59%, 32%) |
| CMYK | cmyk(0%, 22%, 74%, 50%) |
| LAB | lab(44.0 3.9 40.5) |
| LCH | lch(44.0 40.7 84.5) |
| OKLCH | oklch(0.518 0.091 85.4) |
Copy-ready code
/* CSS */
color: #806421;
background-color: #806421;
/* Tailwind (arbitrary) */
class="text-[#806421] bg-[#806421]"
/* SCSS */
$brand: #806421;
/* SwiftUI */
Color(red: 0.502, green: 0.392, blue: 0.129)
/* Android */
Color.parseColor("#806421")Accessibility — WCAG contrast
Aa
#806421 on white: 5.58:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#806421 on black: 3.76:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red50.2%
Green39.2%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta21.9%
Yellow74.2%
Key (black)49.8%
Color previews
#806421 text on a black background
contrast 3.76:1
Card sample
#806421 text on a white background
contrast 5.58:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #806421;
Background color
Panel with #806421 background
background-color: #806421;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #806421;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(128, 100, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 100, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #806421; background: linear-gradient(135deg, #806421, #5D8021);