#cecf2c
a balanced, vivid yellow · cool · closest name: gold
RGB
206, 207, 44
HSL
60°, 65%, 49%
CMYK
1, 0, 79, 19
Luminance
0.5793
Every format
| HEX | #cecf2c |
| RGB | rgb(206, 207, 44) |
| HSL | hsl(60, 65%, 49%) |
| CMYK | cmyk(1%, 0%, 79%, 19%) |
| LAB | lab(80.7 -18.0 73.5) |
| LCH | lch(80.7 75.7 103.8) |
| OKLCH | oklch(0.827 0.170 110.0) |
Copy-ready code
/* CSS */
color: #cecf2c;
background-color: #cecf2c;
/* Tailwind (arbitrary) */
class="text-[#cecf2c] bg-[#cecf2c]"
/* SCSS */
$brand: #cecf2c;
/* SwiftUI */
Color(red: 0.808, green: 0.812, blue: 0.173)
/* Android */
Color.parseColor("#cecf2c")Accessibility — WCAG contrast
Aa
#cecf2c on white: 1.67:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cecf2c on black: 12.59:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green81.2%
Blue17.3%
CMYK percentages
Cyan0.5%
Magenta0.0%
Yellow78.7%
Key (black)18.8%
Color previews
#cecf2c text on a black background
contrast 12.59:1
Card sample
#cecf2c text on a white background
contrast 1.67:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cecf2c;
Background color
Panel with #cecf2c background
background-color: #cecf2c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cecf2c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 207, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 207, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cecf2c; background: linear-gradient(135deg, #cecf2c, #61CF2C);