#c2cb49
a balanced, vivid yellow · cool · closest name: khaki
RGB
194, 203, 73
HSL
64°, 56%, 54%
CMYK
4, 0, 64, 20
Luminance
0.5466
Every format
| HEX | #c2cb49 |
| RGB | rgb(194, 203, 73) |
| HSL | hsl(64, 56%, 54%) |
| CMYK | cmyk(4%, 0%, 64%, 20%) |
| LAB | lab(78.8 -19.7 61.4) |
| LCH | lch(78.8 64.5 107.8) |
| OKLCH | oklch(0.811 0.151 113.1) |
Copy-ready code
/* CSS */
color: #c2cb49;
background-color: #c2cb49;
/* Tailwind (arbitrary) */
class="text-[#c2cb49] bg-[#c2cb49]"
/* SCSS */
$brand: #c2cb49;
/* SwiftUI */
Color(red: 0.761, green: 0.796, blue: 0.286)
/* Android */
Color.parseColor("#c2cb49")Accessibility — WCAG contrast
Aa
#c2cb49 on white: 1.76:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c2cb49 on black: 11.93:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.1%
Green79.6%
Blue28.6%
CMYK percentages
Cyan4.4%
Magenta0.0%
Yellow64.0%
Key (black)20.4%
Color previews
#c2cb49 text on a black background
contrast 11.93:1
Card sample
#c2cb49 text on a white background
contrast 1.76:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c2cb49;
Background color
Panel with #c2cb49 background
background-color: #c2cb49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c2cb49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(194, 203, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 203, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2cb49; background: linear-gradient(135deg, #c2cb49, #6BCB49);