#ccc281
a light, soft yellow · cool · closest name: tan
RGB
204, 194, 129
HSL
52°, 42%, 65%
CMYK
0, 5, 37, 20
Luminance
0.5301
Every format
| HEX | #ccc281 |
| RGB | rgb(204, 194, 129) |
| HSL | hsl(52, 42%, 65%) |
| CMYK | cmyk(0%, 5%, 37%, 20%) |
| LAB | lab(77.9 -6.0 34.0) |
| LCH | lch(77.9 34.5 100.1) |
| OKLCH | oklch(0.807 0.085 100.6) |
Copy-ready code
/* CSS */
color: #ccc281;
background-color: #ccc281;
/* Tailwind (arbitrary) */
class="text-[#ccc281] bg-[#ccc281]"
/* SCSS */
$brand: #ccc281;
/* SwiftUI */
Color(red: 0.800, green: 0.761, blue: 0.506)
/* Android */
Color.parseColor("#ccc281")Accessibility — WCAG contrast
Aa
#ccc281 on white: 1.81:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccc281 on black: 11.60:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green76.1%
Blue50.6%
CMYK percentages
Cyan0.0%
Magenta4.9%
Yellow36.8%
Key (black)20.0%
Color previews
#ccc281 text on a black background
contrast 11.60:1
Card sample
#ccc281 text on a white background
contrast 1.81:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccc281;
Background color
Panel with #ccc281 background
background-color: #ccc281;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccc281;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 194, 129, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 194, 129, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc281; background: linear-gradient(135deg, #ccc281, #A4CC81);