#ccc080
a light, soft yellow · cool · closest name: tan
RGB
204, 192, 128
HSL
51°, 43%, 65%
CMYK
0, 6, 37, 20
Luminance
0.5210
Every format
| HEX | #ccc080 |
| RGB | rgb(204, 192, 128) |
| HSL | hsl(51, 43%, 65%) |
| CMYK | cmyk(0%, 6%, 37%, 20%) |
| LAB | lab(77.3 -5.1 33.8) |
| LCH | lch(77.3 34.2 98.6) |
| OKLCH | oklch(0.803 0.084 98.9) |
Copy-ready code
/* CSS */
color: #ccc080;
background-color: #ccc080;
/* Tailwind (arbitrary) */
class="text-[#ccc080] bg-[#ccc080]"
/* SCSS */
$brand: #ccc080;
/* SwiftUI */
Color(red: 0.800, green: 0.753, blue: 0.502)
/* Android */
Color.parseColor("#ccc080")Accessibility — WCAG contrast
Aa
#ccc080 on white: 1.84:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccc080 on black: 11.42:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green75.3%
Blue50.2%
CMYK percentages
Cyan0.0%
Magenta5.9%
Yellow37.3%
Key (black)20.0%
Color previews
#ccc080 text on a black background
contrast 11.42:1
Card sample
#ccc080 text on a white background
contrast 1.84:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccc080;
Background color
Panel with #ccc080 background
background-color: #ccc080;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccc080;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 192, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 192, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc080; background: linear-gradient(135deg, #ccc080, #A5CC80);