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