#ccc27f
a balanced, soft yellow · cool · closest name: tan
RGB
204, 194, 127
HSL
52°, 43%, 65%
CMYK
0, 5, 38, 20
Luminance
0.5295
Every format
| HEX | #ccc27f |
| RGB | rgb(204, 194, 127) |
| HSL | hsl(52, 43%, 65%) |
| CMYK | cmyk(0%, 5%, 38%, 20%) |
| LAB | lab(77.8 -6.3 35.0) |
| LCH | lch(77.8 35.5 100.2) |
| OKLCH | oklch(0.807 0.087 100.8) |
Copy-ready code
/* CSS */
color: #ccc27f;
background-color: #ccc27f;
/* Tailwind (arbitrary) */
class="text-[#ccc27f] bg-[#ccc27f]"
/* SCSS */
$brand: #ccc27f;
/* SwiftUI */
Color(red: 0.800, green: 0.761, blue: 0.498)
/* Android */
Color.parseColor("#ccc27f")Accessibility — WCAG contrast
Aa
#ccc27f on white: 1.81:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccc27f on black: 11.59:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green76.1%
Blue49.8%
CMYK percentages
Cyan0.0%
Magenta4.9%
Yellow37.7%
Key (black)20.0%
Color previews
#ccc27f text on a black background
contrast 11.59:1
Card sample
#ccc27f text on a white background
contrast 1.81:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccc27f;
Background color
Panel with #ccc27f background
background-color: #ccc27f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccc27f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 194, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 194, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc27f; background: linear-gradient(135deg, #ccc27f, #A3CC7F);