#c2ba55
a balanced, vivid yellow · cool · closest name: khaki
RGB
194, 186, 85
HSL
56°, 47%, 55%
CMYK
0, 4, 56, 24
Luminance
0.4724
Every format
| HEX | #c2ba55 |
| RGB | rgb(194, 186, 85) |
| HSL | hsl(56, 47%, 55%) |
| CMYK | cmyk(0%, 4%, 56%, 24%) |
| LAB | lab(74.3 -10.3 51.3) |
| LCH | lch(74.3 52.3 101.3) |
| OKLCH | oklch(0.775 0.123 104.7) |
Copy-ready code
/* CSS */
color: #c2ba55;
background-color: #c2ba55;
/* Tailwind (arbitrary) */
class="text-[#c2ba55] bg-[#c2ba55]"
/* SCSS */
$brand: #c2ba55;
/* SwiftUI */
Color(red: 0.761, green: 0.729, blue: 0.333)
/* Android */
Color.parseColor("#c2ba55")Accessibility — WCAG contrast
Aa
#c2ba55 on white: 2.01:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c2ba55 on black: 10.45:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.1%
Green72.9%
Blue33.3%
CMYK percentages
Cyan0.0%
Magenta4.1%
Yellow56.2%
Key (black)23.9%
Color previews
#c2ba55 text on a black background
contrast 10.45:1
Card sample
#c2ba55 text on a white background
contrast 2.01:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c2ba55;
Background color
Panel with #c2ba55 background
background-color: #c2ba55;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c2ba55;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(194, 186, 85, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 186, 85, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2ba55; background: linear-gradient(135deg, #c2ba55, #81C255);