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