#be9021
a dark, vivid yellow · warm · closest name: peru
RGB
190, 144, 33
HSL
42°, 70%, 44%
CMYK
0, 24, 83, 26
Luminance
0.3100
Every format
| HEX | #be9021 |
| RGB | rgb(190, 144, 33) |
| HSL | hsl(42, 70%, 44%) |
| CMYK | cmyk(0%, 24%, 83%, 26%) |
| LAB | lab(62.5 7.5 60.3) |
| LCH | lch(62.5 60.7 82.9) |
| OKLCH | oklch(0.680 0.130 83.8) |
Copy-ready code
/* CSS */
color: #be9021;
background-color: #be9021;
/* Tailwind (arbitrary) */
class="text-[#be9021] bg-[#be9021]"
/* SCSS */
$brand: #be9021;
/* SwiftUI */
Color(red: 0.745, green: 0.565, blue: 0.129)
/* Android */
Color.parseColor("#be9021")Accessibility — WCAG contrast
Aa
#be9021 on white: 2.92:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#be9021 on black: 7.20:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red74.5%
Green56.5%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta24.2%
Yellow82.6%
Key (black)25.5%
Color previews
#be9021 text on a black background
contrast 7.20:1
Card sample
#be9021 text on a white background
contrast 2.92:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #be9021;
Background color
Panel with #be9021 background
background-color: #be9021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #be9021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(190, 144, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(190, 144, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #be9021; background: linear-gradient(135deg, #be9021, #83BE21);