#bcaf3c
a balanced, vivid yellow · cool · closest name: olive
RGB
188, 175, 60
HSL
54°, 52%, 49%
CMYK
0, 7, 68, 26
Luminance
0.4168
Every format
| HEX | #bcaf3c |
| RGB | rgb(188, 175, 60) |
| HSL | hsl(54, 52%, 49%) |
| CMYK | cmyk(0%, 7%, 68%, 26%) |
| LAB | lab(70.7 -8.8 58.0) |
| LCH | lch(70.7 58.7 98.6) |
| OKLCH | oklch(0.744 0.134 102.8) |
Copy-ready code
/* CSS */
color: #bcaf3c;
background-color: #bcaf3c;
/* Tailwind (arbitrary) */
class="text-[#bcaf3c] bg-[#bcaf3c]"
/* SCSS */
$brand: #bcaf3c;
/* SwiftUI */
Color(red: 0.737, green: 0.686, blue: 0.235)
/* Android */
Color.parseColor("#bcaf3c")Accessibility — WCAG contrast
Aa
#bcaf3c on white: 2.25:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bcaf3c on black: 9.34:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red73.7%
Green68.6%
Blue23.5%
CMYK percentages
Cyan0.0%
Magenta6.9%
Yellow68.1%
Key (black)26.3%
Color previews
#bcaf3c text on a black background
contrast 9.34:1
Card sample
#bcaf3c text on a white background
contrast 2.25:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bcaf3c;
Background color
Panel with #bcaf3c background
background-color: #bcaf3c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bcaf3c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(188, 175, 60, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(188, 175, 60, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bcaf3c; background: linear-gradient(135deg, #bcaf3c, #74BC3C);