#cec33c
a balanced, vivid yellow · cool · closest name: khaki
RGB
206, 195, 60
HSL
56°, 60%, 52%
CMYK
0, 5, 71, 19
Luminance
0.5248
Every format
| HEX | #cec33c |
| RGB | rgb(206, 195, 60) |
| HSL | hsl(56, 60%, 52%) |
| CMYK | cmyk(0%, 5%, 71%, 19%) |
| LAB | lab(77.6 -11.3 65.5) |
| LCH | lch(77.6 66.4 99.8) |
| OKLCH | oklch(0.803 0.150 104.6) |
Copy-ready code
/* CSS */
color: #cec33c;
background-color: #cec33c;
/* Tailwind (arbitrary) */
class="text-[#cec33c] bg-[#cec33c]"
/* SCSS */
$brand: #cec33c;
/* SwiftUI */
Color(red: 0.808, green: 0.765, blue: 0.235)
/* Android */
Color.parseColor("#cec33c")Accessibility — WCAG contrast
Aa
#cec33c on white: 1.83:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cec33c on black: 11.50:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green76.5%
Blue23.5%
CMYK percentages
Cyan0.0%
Magenta5.3%
Yellow70.9%
Key (black)19.2%
Color previews
#cec33c text on a black background
contrast 11.50:1
Card sample
#cec33c text on a white background
contrast 1.83:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cec33c;
Background color
Panel with #cec33c background
background-color: #cec33c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cec33c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 195, 60, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 195, 60, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cec33c; background: linear-gradient(135deg, #cec33c, #78CE3C);