#ccdf48
a balanced, vivid yellow · cool · closest name: yellow
RGB
204, 223, 72
HSL
68°, 70%, 58%
CMYK
9, 0, 68, 13
Luminance
0.6608
Every format
| HEX | #ccdf48 |
| RGB | rgb(204, 223, 72) |
| HSL | hsl(68, 70%, 58%) |
| CMYK | cmyk(9%, 0%, 68%, 13%) |
| LAB | lab(85.0 -25.4 68.4) |
| LCH | lch(85.0 73.0 110.4) |
| OKLCH | oklch(0.862 0.171 116.3) |
Copy-ready code
/* CSS */
color: #ccdf48;
background-color: #ccdf48;
/* Tailwind (arbitrary) */
class="text-[#ccdf48] bg-[#ccdf48]"
/* SCSS */
$brand: #ccdf48;
/* SwiftUI */
Color(red: 0.800, green: 0.875, blue: 0.282)
/* Android */
Color.parseColor("#ccdf48")Accessibility — WCAG contrast
Aa
#ccdf48 on white: 1.48:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccdf48 on black: 14.22:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green87.5%
Blue28.2%
CMYK percentages
Cyan8.5%
Magenta0.0%
Yellow67.7%
Key (black)12.5%
Color previews
#ccdf48 text on a black background
contrast 14.22:1
Card sample
#ccdf48 text on a white background
contrast 1.48:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccdf48;
Background color
Panel with #ccdf48 background
background-color: #ccdf48;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccdf48;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 223, 72, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 223, 72, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccdf48; background: linear-gradient(135deg, #ccdf48, #67DF48);