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