#bacf39
a balanced, vivid yellow · cool · closest name: khaki
RGB
186, 207, 57
HSL
68°, 61%, 52%
CMYK
10, 0, 73, 19
Luminance
0.5536
Every format
| HEX | #bacf39 |
| RGB | rgb(186, 207, 57) |
| HSL | hsl(68, 61%, 52%) |
| CMYK | cmyk(10%, 0%, 73%, 19%) |
| LAB | lab(79.3 -25.8 67.6) |
| LCH | lch(79.3 72.4 110.9) |
| OKLCH | oklch(0.812 0.169 117.3) |
Copy-ready code
/* CSS */
color: #bacf39;
background-color: #bacf39;
/* Tailwind (arbitrary) */
class="text-[#bacf39] bg-[#bacf39]"
/* SCSS */
$brand: #bacf39;
/* SwiftUI */
Color(red: 0.729, green: 0.812, blue: 0.224)
/* Android */
Color.parseColor("#bacf39")Accessibility — WCAG contrast
Aa
#bacf39 on white: 1.74:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bacf39 on black: 12.07:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green81.2%
Blue22.4%
CMYK percentages
Cyan10.1%
Magenta0.0%
Yellow72.5%
Key (black)18.8%
Color previews
#bacf39 text on a black background
contrast 12.07:1
Card sample
#bacf39 text on a white background
contrast 1.74:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bacf39;
Background color
Panel with #bacf39 background
background-color: #bacf39;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bacf39;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 207, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 207, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bacf39; background: linear-gradient(135deg, #bacf39, #56CF39);