#bacb3f
a balanced, vivid yellow · cool · closest name: khaki
RGB
186, 203, 63
HSL
67°, 57%, 52%
CMYK
8, 0, 69, 20
Luminance
0.5351
Every format
| HEX | #bacb3f |
| RGB | rgb(186, 203, 63) |
| HSL | hsl(67, 57%, 52%) |
| CMYK | cmyk(8%, 0%, 69%, 20%) |
| LAB | lab(78.2 -23.6 64.4) |
| LCH | lch(78.2 68.6 110.1) |
| OKLCH | oklch(0.804 0.161 116.1) |
Copy-ready code
/* CSS */
color: #bacb3f;
background-color: #bacb3f;
/* Tailwind (arbitrary) */
class="text-[#bacb3f] bg-[#bacb3f]"
/* SCSS */
$brand: #bacb3f;
/* SwiftUI */
Color(red: 0.729, green: 0.796, blue: 0.247)
/* Android */
Color.parseColor("#bacb3f")Accessibility — WCAG contrast
Aa
#bacb3f on white: 1.79:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bacb3f on black: 11.70:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green79.6%
Blue24.7%
CMYK percentages
Cyan8.4%
Magenta0.0%
Yellow69.0%
Key (black)20.4%
Color previews
#bacb3f text on a black background
contrast 11.70:1
Card sample
#bacb3f text on a white background
contrast 1.79:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bacb3f;
Background color
Panel with #bacb3f background
background-color: #bacb3f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bacb3f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 203, 63, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 203, 63, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bacb3f; background: linear-gradient(135deg, #bacb3f, #5DCB3F);