#cccd7b
a balanced, vivid yellow · cool · closest name: khaki
RGB
204, 205, 123
HSL
61°, 45%, 64%
CMYK
1, 0, 40, 20
Luminance
0.5793
Every format
| HEX | #cccd7b |
| RGB | rgb(204, 205, 123) |
| HSL | hsl(61, 45%, 64%) |
| CMYK | cmyk(1%, 0%, 40%, 20%) |
| LAB | lab(80.7 -12.4 40.7) |
| LCH | lch(80.7 42.5 106.9) |
| OKLCH | oklch(0.829 0.104 109.1) |
Copy-ready code
/* CSS */
color: #cccd7b;
background-color: #cccd7b;
/* Tailwind (arbitrary) */
class="text-[#cccd7b] bg-[#cccd7b]"
/* SCSS */
$brand: #cccd7b;
/* SwiftUI */
Color(red: 0.800, green: 0.804, blue: 0.482)
/* Android */
Color.parseColor("#cccd7b")Accessibility — WCAG contrast
Aa
#cccd7b on white: 1.67:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cccd7b on black: 12.59:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green80.4%
Blue48.2%
CMYK percentages
Cyan0.5%
Magenta0.0%
Yellow40.0%
Key (black)19.6%
Color previews
#cccd7b text on a black background
contrast 12.59:1
Card sample
#cccd7b text on a white background
contrast 1.67:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cccd7b;
Background color
Panel with #cccd7b background
background-color: #cccd7b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cccd7b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 205, 123, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 205, 123, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cccd7b; background: linear-gradient(135deg, #cccd7b, #95CD7B);