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