#cccf7c
a balanced, vivid yellow · cool · closest name: khaki
RGB
204, 207, 124
HSL
62°, 46%, 65%
CMYK
1, 0, 40, 19
Luminance
0.5892
Every format
| HEX | #cccf7c |
| RGB | rgb(204, 207, 124) |
| HSL | hsl(62, 46%, 65%) |
| CMYK | cmyk(1%, 0%, 40%, 19%) |
| LAB | lab(81.3 -13.3 40.9) |
| LCH | lch(81.3 43.0 108.0) |
| OKLCH | oklch(0.834 0.106 110.3) |
Copy-ready code
/* CSS */
color: #cccf7c;
background-color: #cccf7c;
/* Tailwind (arbitrary) */
class="text-[#cccf7c] bg-[#cccf7c]"
/* SCSS */
$brand: #cccf7c;
/* SwiftUI */
Color(red: 0.800, green: 0.812, blue: 0.486)
/* Android */
Color.parseColor("#cccf7c")Accessibility — WCAG contrast
Aa
#cccf7c on white: 1.64:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cccf7c on black: 12.78:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green81.2%
Blue48.6%
CMYK percentages
Cyan1.4%
Magenta0.0%
Yellow40.1%
Key (black)18.8%
Color previews
#cccf7c text on a black background
contrast 12.78:1
Card sample
#cccf7c text on a white background
contrast 1.64:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cccf7c;
Background color
Panel with #cccf7c background
background-color: #cccf7c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cccf7c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 207, 124, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 207, 124, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cccf7c; background: linear-gradient(135deg, #cccf7c, #95CF7C);