#cccf68
a balanced, vivid yellow · cool · closest name: khaki
RGB
204, 207, 104
HSL
62°, 52%, 61%
CMYK
1, 0, 50, 19
Luminance
0.5846
Every format
| HEX | #cccf68 |
| RGB | rgb(204, 207, 104) |
| HSL | hsl(62, 52%, 61%) |
| CMYK | cmyk(1%, 0%, 50%, 19%) |
| LAB | lab(81.0 -15.2 50.3) |
| LCH | lch(81.0 52.6 106.8) |
| OKLCH | oklch(0.831 0.127 110.4) |
Copy-ready code
/* CSS */
color: #cccf68;
background-color: #cccf68;
/* Tailwind (arbitrary) */
class="text-[#cccf68] bg-[#cccf68]"
/* SCSS */
$brand: #cccf68;
/* SwiftUI */
Color(red: 0.800, green: 0.812, blue: 0.408)
/* Android */
Color.parseColor("#cccf68")Accessibility — WCAG contrast
Aa
#cccf68 on white: 1.65:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cccf68 on black: 12.69:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green81.2%
Blue40.8%
CMYK percentages
Cyan1.4%
Magenta0.0%
Yellow49.8%
Key (black)18.8%
Color previews
#cccf68 text on a black background
contrast 12.69:1
Card sample
#cccf68 text on a white background
contrast 1.65:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cccf68;
Background color
Panel with #cccf68 background
background-color: #cccf68;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cccf68;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 207, 104, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 207, 104, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cccf68; background: linear-gradient(135deg, #cccf68, #87CF68);