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