#cecb49
a balanced, vivid yellow · cool · closest name: khaki
RGB
206, 203, 73
HSL
59°, 58%, 55%
CMYK
0, 2, 65, 19
Luminance
0.5631
Every format
| HEX | #cecb49 |
| RGB | rgb(206, 203, 73) |
| HSL | hsl(59, 58%, 55%) |
| CMYK | cmyk(0%, 2%, 65%, 19%) |
| LAB | lab(79.8 -14.7 62.7) |
| LCH | lch(79.8 64.4 103.2) |
| OKLCH | oklch(0.821 0.149 108.0) |
Copy-ready code
/* CSS */
color: #cecb49;
background-color: #cecb49;
/* Tailwind (arbitrary) */
class="text-[#cecb49] bg-[#cecb49]"
/* SCSS */
$brand: #cecb49;
/* SwiftUI */
Color(red: 0.808, green: 0.796, blue: 0.286)
/* Android */
Color.parseColor("#cecb49")Accessibility — WCAG contrast
Aa
#cecb49 on white: 1.71:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cecb49 on black: 12.26:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green79.6%
Blue28.6%
CMYK percentages
Cyan0.0%
Magenta1.5%
Yellow64.6%
Key (black)19.2%
Color previews
#cecb49 text on a black background
contrast 12.26:1
Card sample
#cecb49 text on a white background
contrast 1.71:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cecb49;
Background color
Panel with #cecb49 background
background-color: #cecb49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cecb49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 203, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 203, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cecb49; background: linear-gradient(135deg, #cecb49, #78CE49);