#ccc78c
a light, soft yellow · cool · closest name: tan
RGB
204, 199, 140
HSL
55°, 39%, 68%
CMYK
0, 3, 31, 20
Luminance
0.5558
Every format
| HEX | #ccc78c |
| RGB | rgb(204, 199, 140) |
| HSL | hsl(55, 39%, 68%) |
| CMYK | cmyk(0%, 3%, 31%, 20%) |
| LAB | lab(79.4 -7.3 30.2) |
| LCH | lch(79.4 31.1 103.6) |
| OKLCH | oklch(0.820 0.078 103.9) |
Copy-ready code
/* CSS */
color: #ccc78c;
background-color: #ccc78c;
/* Tailwind (arbitrary) */
class="text-[#ccc78c] bg-[#ccc78c]"
/* SCSS */
$brand: #ccc78c;
/* SwiftUI */
Color(red: 0.800, green: 0.780, blue: 0.549)
/* Android */
Color.parseColor("#ccc78c")Accessibility — WCAG contrast
Aa
#ccc78c on white: 1.73:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccc78c on black: 12.12:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green78.0%
Blue54.9%
CMYK percentages
Cyan0.0%
Magenta2.5%
Yellow31.4%
Key (black)20.0%
Color previews
#ccc78c text on a black background
contrast 12.12:1
Card sample
#ccc78c text on a white background
contrast 1.73:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccc78c;
Background color
Panel with #ccc78c background
background-color: #ccc78c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccc78c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 199, 140, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 199, 140, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc78c; background: linear-gradient(135deg, #ccc78c, #A6CC8C);