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