#beb821
a dark, vivid yellow · cool · closest name: olive
RGB
190, 184, 33
HSL
58°, 70%, 44%
CMYK
0, 3, 83, 26
Luminance
0.4534
Every format
| HEX | #beb821 |
| RGB | rgb(190, 184, 33) |
| HSL | hsl(58, 70%, 44%) |
| CMYK | cmyk(0%, 3%, 83%, 26%) |
| LAB | lab(73.1 -13.7 69.3) |
| LCH | lch(73.1 70.7 101.2) |
| OKLCH | oklch(0.764 0.156 107.1) |
Copy-ready code
/* CSS */
color: #beb821;
background-color: #beb821;
/* Tailwind (arbitrary) */
class="text-[#beb821] bg-[#beb821]"
/* SCSS */
$brand: #beb821;
/* SwiftUI */
Color(red: 0.745, green: 0.722, blue: 0.129)
/* Android */
Color.parseColor("#beb821")Accessibility — WCAG contrast
Aa
#beb821 on white: 2.09:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#beb821 on black: 10.07:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red74.5%
Green72.2%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta3.2%
Yellow82.6%
Key (black)25.5%
Color previews
#beb821 text on a black background
contrast 10.07:1
Card sample
#beb821 text on a white background
contrast 2.09:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #beb821;
Background color
Panel with #beb821 background
background-color: #beb821;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #beb821;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(190, 184, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(190, 184, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #beb821; background: linear-gradient(135deg, #beb821, #5BBE21);