#bace45
a balanced, vivid yellow · cool · closest name: khaki
RGB
186, 206, 69
HSL
69°, 58%, 54%
CMYK
10, 0, 67, 19
Luminance
0.5501
Every format
| HEX | #bace45 |
| RGB | rgb(186, 206, 69) |
| HSL | hsl(69, 58%, 54%) |
| CMYK | cmyk(10%, 0%, 67%, 19%) |
| LAB | lab(79.0 -24.7 63.0) |
| LCH | lch(79.0 67.7 111.4) |
| OKLCH | oklch(0.811 0.160 117.3) |
Copy-ready code
/* CSS */
color: #bace45;
background-color: #bace45;
/* Tailwind (arbitrary) */
class="text-[#bace45] bg-[#bace45]"
/* SCSS */
$brand: #bace45;
/* SwiftUI */
Color(red: 0.729, green: 0.808, blue: 0.271)
/* Android */
Color.parseColor("#bace45")Accessibility — WCAG contrast
Aa
#bace45 on white: 1.75:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bace45 on black: 12.00:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green80.8%
Blue27.1%
CMYK percentages
Cyan9.7%
Magenta0.0%
Yellow66.5%
Key (black)19.2%
Color previews
#bace45 text on a black background
contrast 12.00:1
Card sample
#bace45 text on a white background
contrast 1.75:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bace45;
Background color
Panel with #bace45 background
background-color: #bace45;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bace45;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 206, 69, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 206, 69, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bace45; background: linear-gradient(135deg, #bace45, #5ECE45);