#bcaf39
a balanced, vivid yellow · cool · closest name: olive
RGB
188, 175, 57
HSL
54°, 54%, 48%
CMYK
0, 7, 70, 26
Luminance
0.4165
Every format
| HEX | #bcaf39 |
| RGB | rgb(188, 175, 57) |
| HSL | hsl(54, 54%, 48%) |
| CMYK | cmyk(0%, 7%, 70%, 26%) |
| LAB | lab(70.6 -8.9 59.2) |
| LCH | lch(70.6 59.9 98.6) |
| OKLCH | oklch(0.744 0.136 102.9) |
Copy-ready code
/* CSS */
color: #bcaf39;
background-color: #bcaf39;
/* Tailwind (arbitrary) */
class="text-[#bcaf39] bg-[#bcaf39]"
/* SCSS */
$brand: #bcaf39;
/* SwiftUI */
Color(red: 0.737, green: 0.686, blue: 0.224)
/* Android */
Color.parseColor("#bcaf39")Accessibility — WCAG contrast
Aa
#bcaf39 on white: 2.25:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bcaf39 on black: 9.33:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red73.7%
Green68.6%
Blue22.4%
CMYK percentages
Cyan0.0%
Magenta6.9%
Yellow69.7%
Key (black)26.3%
Color previews
#bcaf39 text on a black background
contrast 9.33:1
Card sample
#bcaf39 text on a white background
contrast 2.25:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bcaf39;
Background color
Panel with #bcaf39 background
background-color: #bcaf39;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bcaf39;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(188, 175, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(188, 175, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bcaf39; background: linear-gradient(135deg, #bcaf39, #72BC39);