#cccf9b
a light, soft yellow · cool · closest name: tan
RGB
204, 207, 155
HSL
64°, 35%, 71%
CMYK
1, 0, 25, 19
Luminance
0.5983
Every format
| HEX | #cccf9b |
| RGB | rgb(204, 207, 155) |
| HSL | hsl(64, 35%, 71%) |
| CMYK | cmyk(1%, 0%, 25%, 19%) |
| LAB | lab(81.8 -9.4 25.6) |
| LCH | lch(81.8 27.3 110.3) |
| OKLCH | oklch(0.839 0.069 110.5) |
Copy-ready code
/* CSS */
color: #cccf9b;
background-color: #cccf9b;
/* Tailwind (arbitrary) */
class="text-[#cccf9b] bg-[#cccf9b]"
/* SCSS */
$brand: #cccf9b;
/* SwiftUI */
Color(red: 0.800, green: 0.812, blue: 0.608)
/* Android */
Color.parseColor("#cccf9b")Accessibility — WCAG contrast
Aa
#cccf9b on white: 1.62:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cccf9b on black: 12.97:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green81.2%
Blue60.8%
CMYK percentages
Cyan1.4%
Magenta0.0%
Yellow25.1%
Key (black)18.8%
Color previews
#cccf9b text on a black background
contrast 12.97:1
Card sample
#cccf9b text on a white background
contrast 1.62:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cccf9b;
Background color
Panel with #cccf9b background
background-color: #cccf9b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cccf9b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 207, 155, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 207, 155, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cccf9b; background: linear-gradient(135deg, #cccf9b, #A9CF9B);