#807521
a dark, vivid yellow · cool · closest name: olive
RGB
128, 117, 33
HSL
53°, 59%, 32%
CMYK
0, 9, 74, 50
Luminance
0.1742
Every format
| HEX | #807521 |
| RGB | rgb(128, 117, 33) |
| HSL | hsl(53, 59%, 32%) |
| CMYK | cmyk(0%, 9%, 74%, 50%) |
| LAB | lab(48.8 -5.9 45.3) |
| LCH | lch(48.8 45.7 97.4) |
| OKLCH | oklch(0.556 0.103 101.7) |
Copy-ready code
/* CSS */
color: #807521;
background-color: #807521;
/* Tailwind (arbitrary) */
class="text-[#807521] bg-[#807521]"
/* SCSS */
$brand: #807521;
/* SwiftUI */
Color(red: 0.502, green: 0.459, blue: 0.129)
/* Android */
Color.parseColor("#807521")Accessibility — WCAG contrast
Aa
#807521 on white: 4.68:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#807521 on black: 4.48:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red50.2%
Green45.9%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta8.6%
Yellow74.2%
Key (black)49.8%
Color previews
#807521 text on a black background
contrast 4.48:1
Card sample
#807521 text on a white background
contrast 4.68:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #807521;
Background color
Panel with #807521 background
background-color: #807521;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #807521;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(128, 117, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 117, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #807521; background: linear-gradient(135deg, #807521, #4C8021);