#bacf2c
a balanced, vivid yellow · cool · closest name: yellow
RGB
186, 207, 44
HSL
68°, 65%, 49%
CMYK
10, 0, 79, 19
Luminance
0.5525
Every format
| HEX | #bacf2c |
| RGB | rgb(186, 207, 44) |
| HSL | hsl(68, 65%, 49%) |
| CMYK | cmyk(10%, 0%, 79%, 19%) |
| LAB | lab(79.2 -26.4 71.6) |
| LCH | lch(79.2 76.3 110.2) |
| OKLCH | oklch(0.811 0.175 117.2) |
Copy-ready code
/* CSS */
color: #bacf2c;
background-color: #bacf2c;
/* Tailwind (arbitrary) */
class="text-[#bacf2c] bg-[#bacf2c]"
/* SCSS */
$brand: #bacf2c;
/* SwiftUI */
Color(red: 0.729, green: 0.812, blue: 0.173)
/* Android */
Color.parseColor("#bacf2c")Accessibility — WCAG contrast
Aa
#bacf2c on white: 1.74:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bacf2c on black: 12.05:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green81.2%
Blue17.3%
CMYK percentages
Cyan10.1%
Magenta0.0%
Yellow78.7%
Key (black)18.8%
Color previews
#bacf2c text on a black background
contrast 12.05:1
Card sample
#bacf2c text on a white background
contrast 1.74:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bacf2c;
Background color
Panel with #bacf2c background
background-color: #bacf2c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bacf2c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 207, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 207, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bacf2c; background: linear-gradient(135deg, #bacf2c, #4DCF2C);