#807a21
a dark, vivid yellow · cool · closest name: olive
RGB
128, 122, 33
HSL
56°, 59%, 32%
CMYK
0, 5, 74, 50
Luminance
0.1862
Every format
| HEX | #807a21 |
| RGB | rgb(128, 122, 33) |
| HSL | hsl(56, 59%, 32%) |
| CMYK | cmyk(0%, 5%, 74%, 50%) |
| LAB | lab(50.2 -8.7 46.7) |
| LCH | lch(50.2 47.5 100.5) |
| OKLCH | oklch(0.568 0.107 105.5) |
Copy-ready code
/* CSS */
color: #807a21;
background-color: #807a21;
/* Tailwind (arbitrary) */
class="text-[#807a21] bg-[#807a21]"
/* SCSS */
$brand: #807a21;
/* SwiftUI */
Color(red: 0.502, green: 0.478, blue: 0.129)
/* Android */
Color.parseColor("#807a21")Accessibility — WCAG contrast
Aa
#807a21 on white: 4.45:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#807a21 on black: 4.72:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red50.2%
Green47.8%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta4.7%
Yellow74.2%
Key (black)49.8%
Color previews
#807a21 text on a black background
contrast 4.72:1
Card sample
#807a21 text on a white background
contrast 4.45:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #807a21;
Background color
Panel with #807a21 background
background-color: #807a21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #807a21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(128, 122, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 122, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #807a21; background: linear-gradient(135deg, #807a21, #478021);