#998921
a dark, vivid yellow · cool · closest name: olive
RGB
153, 137, 33
HSL
52°, 65%, 37%
CMYK
0, 11, 78, 40
Luminance
0.2477
Every format
| HEX | #998921 |
| RGB | rgb(153, 137, 33) |
| HSL | hsl(52, 65%, 37%) |
| CMYK | cmyk(0%, 11%, 78%, 40%) |
| LAB | lab(56.9 -5.4 53.8) |
| LCH | lch(56.9 54.1 95.7) |
| OKLCH | oklch(0.626 0.119 100.0) |
Copy-ready code
/* CSS */
color: #998921;
background-color: #998921;
/* Tailwind (arbitrary) */
class="text-[#998921] bg-[#998921]"
/* SCSS */
$brand: #998921;
/* SwiftUI */
Color(red: 0.600, green: 0.537, blue: 0.129)
/* Android */
Color.parseColor("#998921")Accessibility — WCAG contrast
Aa
#998921 on white: 3.53:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#998921 on black: 5.95:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red60.0%
Green53.7%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta10.5%
Yellow78.4%
Key (black)40.0%
Color previews
#998921 text on a black background
contrast 5.95:1
Card sample
#998921 text on a white background
contrast 3.53:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #998921;
Background color
Panel with #998921 background
background-color: #998921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #998921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(153, 137, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(153, 137, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #998921; background: linear-gradient(135deg, #998921, #599921);