#cacf49
a balanced, vivid yellow · cool · closest name: khaki
RGB
202, 207, 73
HSL
62°, 58%, 55%
CMYK
2, 0, 65, 19
Luminance
0.5766
Every format
| HEX | #cacf49 |
| RGB | rgb(202, 207, 73) |
| HSL | hsl(62, 58%, 55%) |
| CMYK | cmyk(2%, 0%, 65%, 19%) |
| LAB | lab(80.5 -18.4 63.4) |
| LCH | lch(80.5 66.0 106.1) |
| OKLCH | oklch(0.826 0.154 111.4) |
Copy-ready code
/* CSS */
color: #cacf49;
background-color: #cacf49;
/* Tailwind (arbitrary) */
class="text-[#cacf49] bg-[#cacf49]"
/* SCSS */
$brand: #cacf49;
/* SwiftUI */
Color(red: 0.792, green: 0.812, blue: 0.286)
/* Android */
Color.parseColor("#cacf49")Accessibility — WCAG contrast
Aa
#cacf49 on white: 1.68:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cacf49 on black: 12.53:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.2%
Green81.2%
Blue28.6%
CMYK percentages
Cyan2.4%
Magenta0.0%
Yellow64.7%
Key (black)18.8%
Color previews
#cacf49 text on a black background
contrast 12.53:1
Card sample
#cacf49 text on a white background
contrast 1.68:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cacf49;
Background color
Panel with #cacf49 background
background-color: #cacf49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cacf49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(202, 207, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 207, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cacf49; background: linear-gradient(135deg, #cacf49, #71CF49);