#c5ce49
a balanced, vivid yellow · cool · closest name: khaki
RGB
197, 206, 73
HSL
64°, 58%, 55%
CMYK
4, 0, 65, 19
Luminance
0.5649
Every format
| HEX | #c5ce49 |
| RGB | rgb(197, 206, 73) |
| HSL | hsl(64, 58%, 55%) |
| CMYK | cmyk(4%, 0%, 65%, 19%) |
| LAB | lab(79.9 -19.9 62.6) |
| LCH | lch(79.9 65.7 107.7) |
| OKLCH | oklch(0.820 0.154 113.0) |
Copy-ready code
/* CSS */
color: #c5ce49;
background-color: #c5ce49;
/* Tailwind (arbitrary) */
class="text-[#c5ce49] bg-[#c5ce49]"
/* SCSS */
$brand: #c5ce49;
/* SwiftUI */
Color(red: 0.773, green: 0.808, blue: 0.286)
/* Android */
Color.parseColor("#c5ce49")Accessibility — WCAG contrast
Aa
#c5ce49 on white: 1.71:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c5ce49 on black: 12.30:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red77.3%
Green80.8%
Blue28.6%
CMYK percentages
Cyan4.4%
Magenta0.0%
Yellow64.6%
Key (black)19.2%
Color previews
#c5ce49 text on a black background
contrast 12.30:1
Card sample
#c5ce49 text on a white background
contrast 1.71:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c5ce49;
Background color
Panel with #c5ce49 background
background-color: #c5ce49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c5ce49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(197, 206, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(197, 206, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c5ce49; background: linear-gradient(135deg, #c5ce49, #6CCE49);