#ccc499
a light, soft yellow · cool · closest name: tan
RGB
204, 196, 153
HSL
51°, 33%, 70%
CMYK
0, 4, 25, 20
Luminance
0.5462
Every format
| HEX | #ccc499 |
| RGB | rgb(204, 196, 153) |
| HSL | hsl(51, 33%, 70%) |
| CMYK | cmyk(0%, 4%, 25%, 20%) |
| LAB | lab(78.8 -4.0 22.6) |
| LCH | lch(78.8 23.0 100.1) |
| OKLCH | oklch(0.816 0.058 98.7) |
Copy-ready code
/* CSS */
color: #ccc499;
background-color: #ccc499;
/* Tailwind (arbitrary) */
class="text-[#ccc499] bg-[#ccc499]"
/* SCSS */
$brand: #ccc499;
/* SwiftUI */
Color(red: 0.800, green: 0.769, blue: 0.600)
/* Android */
Color.parseColor("#ccc499")Accessibility — WCAG contrast
Aa
#ccc499 on white: 1.76:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccc499 on black: 11.92:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green76.9%
Blue60.0%
CMYK percentages
Cyan0.0%
Magenta3.9%
Yellow25.0%
Key (black)20.0%
Color previews
#ccc499 text on a black background
contrast 11.92:1
Card sample
#ccc499 text on a white background
contrast 1.76:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccc499;
Background color
Panel with #ccc499 background
background-color: #ccc499;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccc499;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 196, 153, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 196, 153, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc499; background: linear-gradient(135deg, #ccc499, #B2CC99);