#cccf98
a light, soft yellow · cool · closest name: tan
RGB
204, 207, 152
HSL
63°, 36%, 70%
CMYK
1, 0, 27, 19
Luminance
0.5973
Every format
| HEX | #cccf98 |
| RGB | rgb(204, 207, 152) |
| HSL | hsl(63, 36%, 70%) |
| CMYK | cmyk(1%, 0%, 27%, 19%) |
| LAB | lab(81.7 -9.8 27.1) |
| LCH | lch(81.7 28.8 110.0) |
| OKLCH | oklch(0.839 0.073 110.5) |
Copy-ready code
/* CSS */
color: #cccf98;
background-color: #cccf98;
/* Tailwind (arbitrary) */
class="text-[#cccf98] bg-[#cccf98]"
/* SCSS */
$brand: #cccf98;
/* SwiftUI */
Color(red: 0.800, green: 0.812, blue: 0.596)
/* Android */
Color.parseColor("#cccf98")Accessibility — WCAG contrast
Aa
#cccf98 on white: 1.62:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cccf98 on black: 12.95:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green81.2%
Blue59.6%
CMYK percentages
Cyan1.4%
Magenta0.0%
Yellow26.6%
Key (black)18.8%
Color previews
#cccf98 text on a black background
contrast 12.95:1
Card sample
#cccf98 text on a white background
contrast 1.62:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cccf98;
Background color
Panel with #cccf98 background
background-color: #cccf98;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cccf98;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 207, 152, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 207, 152, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cccf98; background: linear-gradient(135deg, #cccf98, #A7CF98);