#cacf22
a balanced, vivid yellow · cool · closest name: gold
RGB
202, 207, 34
HSL
62°, 72%, 47%
CMYK
2, 0, 84, 19
Luminance
0.5730
Every format
| HEX | #cacf22 |
| RGB | rgb(202, 207, 34) |
| HSL | hsl(62, 72%, 47%) |
| CMYK | cmyk(2%, 0%, 84%, 19%) |
| LAB | lab(80.3 -20.0 75.6) |
| LCH | lch(80.3 78.2 104.8) |
| OKLCH | oklch(0.824 0.174 111.5) |
Copy-ready code
/* CSS */
color: #cacf22;
background-color: #cacf22;
/* Tailwind (arbitrary) */
class="text-[#cacf22] bg-[#cacf22]"
/* SCSS */
$brand: #cacf22;
/* SwiftUI */
Color(red: 0.792, green: 0.812, blue: 0.133)
/* Android */
Color.parseColor("#cacf22")Accessibility — WCAG contrast
Aa
#cacf22 on white: 1.69:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cacf22 on black: 12.46:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.2%
Green81.2%
Blue13.3%
CMYK percentages
Cyan2.4%
Magenta0.0%
Yellow83.6%
Key (black)18.8%
Color previews
#cacf22 text on a black background
contrast 12.46:1
Card sample
#cacf22 text on a white background
contrast 1.69:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cacf22;
Background color
Panel with #cacf22 background
background-color: #cacf22;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cacf22;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(202, 207, 34, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 207, 34, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cacf22; background: linear-gradient(135deg, #cacf22, #57CF22);