#bcaf5d
a balanced, soft yellow · cool · closest name: khaki
RGB
188, 175, 93
HSL
52°, 42%, 55%
CMYK
0, 7, 51, 26
Luminance
0.4214
Every format
| HEX | #bcaf5d |
| RGB | rgb(188, 175, 93) |
| HSL | hsl(52, 42%, 55%) |
| CMYK | cmyk(0%, 7%, 51%, 26%) |
| LAB | lab(71.0 -6.4 43.4) |
| LCH | lch(71.0 43.8 98.4) |
| OKLCH | oklch(0.748 0.105 100.4) |
Copy-ready code
/* CSS */
color: #bcaf5d;
background-color: #bcaf5d;
/* Tailwind (arbitrary) */
class="text-[#bcaf5d] bg-[#bcaf5d]"
/* SCSS */
$brand: #bcaf5d;
/* SwiftUI */
Color(red: 0.737, green: 0.686, blue: 0.365)
/* Android */
Color.parseColor("#bcaf5d")Accessibility — WCAG contrast
Aa
#bcaf5d on white: 2.23:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bcaf5d on black: 9.43:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red73.7%
Green68.6%
Blue36.5%
CMYK percentages
Cyan0.0%
Magenta6.9%
Yellow50.5%
Key (black)26.3%
Color previews
#bcaf5d text on a black background
contrast 9.43:1
Card sample
#bcaf5d text on a white background
contrast 2.23:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bcaf5d;
Background color
Panel with #bcaf5d background
background-color: #bcaf5d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bcaf5d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(188, 175, 93, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(188, 175, 93, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bcaf5d; background: linear-gradient(135deg, #bcaf5d, #8ABC5D);