#ccc38f
a light, soft yellow · cool · closest name: tan
RGB
204, 195, 143
HSL
51°, 37%, 68%
CMYK
0, 4, 30, 20
Luminance
0.5385
Every format
| HEX | #ccc38f |
| RGB | rgb(204, 195, 143) |
| HSL | hsl(51, 37%, 68%) |
| CMYK | cmyk(0%, 4%, 30%, 20%) |
| LAB | lab(78.4 -4.8 27.3) |
| LCH | lch(78.4 27.8 100.1) |
| OKLCH | oklch(0.812 0.070 99.5) |
Copy-ready code
/* CSS */
color: #ccc38f;
background-color: #ccc38f;
/* Tailwind (arbitrary) */
class="text-[#ccc38f] bg-[#ccc38f]"
/* SCSS */
$brand: #ccc38f;
/* SwiftUI */
Color(red: 0.800, green: 0.765, blue: 0.561)
/* Android */
Color.parseColor("#ccc38f")Accessibility — WCAG contrast
Aa
#ccc38f on white: 1.78:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccc38f on black: 11.77:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green76.5%
Blue56.1%
CMYK percentages
Cyan0.0%
Magenta4.4%
Yellow29.9%
Key (black)20.0%
Color previews
#ccc38f text on a black background
contrast 11.77:1
Card sample
#ccc38f text on a white background
contrast 1.78:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccc38f;
Background color
Panel with #ccc38f background
background-color: #ccc38f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccc38f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 195, 143, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 195, 143, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc38f; background: linear-gradient(135deg, #ccc38f, #ACCC8F);