#bcaf21
a dark, vivid yellow · cool · closest name: olive
RGB
188, 175, 33
HSL
55°, 70%, 43%
CMYK
0, 7, 82, 26
Luminance
0.4146
Every format
| HEX | #bcaf21 |
| RGB | rgb(188, 175, 33) |
| HSL | hsl(55, 70%, 43%) |
| CMYK | cmyk(0%, 7%, 82%, 26%) |
| LAB | lab(70.5 -9.9 67.0) |
| LCH | lch(70.5 67.8 98.4) |
| OKLCH | oklch(0.742 0.149 103.8) |
Copy-ready code
/* CSS */
color: #bcaf21;
background-color: #bcaf21;
/* Tailwind (arbitrary) */
class="text-[#bcaf21] bg-[#bcaf21]"
/* SCSS */
$brand: #bcaf21;
/* SwiftUI */
Color(red: 0.737, green: 0.686, blue: 0.129)
/* Android */
Color.parseColor("#bcaf21")Accessibility — WCAG contrast
Aa
#bcaf21 on white: 2.26:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bcaf21 on black: 9.29:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red73.7%
Green68.6%
Blue12.9%
CMYK percentages
Cyan0.0%
Magenta6.9%
Yellow82.4%
Key (black)26.3%
Color previews
#bcaf21 text on a black background
contrast 9.29:1
Card sample
#bcaf21 text on a white background
contrast 2.26:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bcaf21;
Background color
Panel with #bcaf21 background
background-color: #bcaf21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bcaf21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(188, 175, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(188, 175, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bcaf21; background: linear-gradient(135deg, #bcaf21, #62BC21);