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