#be9921
a dark, vivid yellow · cool · closest name: olive
RGB
190, 153, 33
HSL
46°, 70%, 44%
CMYK
0, 20, 83, 26
Luminance
0.3384
Every format
| HEX | #be9921 |
| RGB | rgb(190, 153, 33) |
| HSL | hsl(46, 70%, 44%) |
| CMYK | cmyk(0%, 20%, 83%, 26%) |
| LAB | lab(64.8 2.6 62.3) |
| LCH | lch(64.8 62.3 87.6) |
| OKLCH | oklch(0.698 0.134 90.0) |
Copy-ready code
/* CSS */
color: #be9921;
background-color: #be9921;
/* Tailwind (arbitrary) */
class="text-[#be9921] bg-[#be9921]"
/* SCSS */
$brand: #be9921;
/* SwiftUI */
Color(red: 0.745, green: 0.600, blue: 0.129)
/* Android */
Color.parseColor("#be9921")Accessibility — WCAG contrast
Aa
#be9921 on white: 2.70:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#be9921 on black: 7.77:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red74.5%
Green60.0%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta19.5%
Yellow82.6%
Key (black)25.5%
Color previews
#be9921 text on a black background
contrast 7.77:1
Card sample
#be9921 text on a white background
contrast 2.70:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #be9921;
Background color
Panel with #be9921 background
background-color: #be9921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #be9921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(190, 153, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(190, 153, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #be9921; background: linear-gradient(135deg, #be9921, #7ABE21);