#ced310
a dark, electric yellow · cool · closest name: gold
RGB
206, 211, 16
HSL
62°, 86%, 45%
CMYK
2, 0, 92, 17
Luminance
0.5975
Every format
| HEX | #ced310 |
| RGB | rgb(206, 211, 16) |
| HSL | hsl(62, 86%, 45%) |
| CMYK | cmyk(2%, 0%, 92%, 17%) |
| LAB | lab(81.7 -20.6 79.9) |
| LCH | lch(81.7 82.5 104.5) |
| OKLCH | oklch(0.835 0.182 111.5) |
Copy-ready code
/* CSS */
color: #ced310;
background-color: #ced310;
/* Tailwind (arbitrary) */
class="text-[#ced310] bg-[#ced310]"
/* SCSS */
$brand: #ced310;
/* SwiftUI */
Color(red: 0.808, green: 0.827, blue: 0.063)
/* Android */
Color.parseColor("#ced310")Accessibility — WCAG contrast
Aa
#ced310 on white: 1.62:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ced310 on black: 12.95:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.8%
Green82.7%
Blue6.3%
CMYK percentages
Cyan2.4%
Magenta0.0%
Yellow92.4%
Key (black)17.3%
Color previews
#ced310 text on a black background
contrast 12.95:1
Card sample
#ced310 text on a white background
contrast 1.62:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ced310;
Background color
Panel with #ced310 background
background-color: #ced310;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ced310;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(206, 211, 16, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 211, 16, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ced310; background: linear-gradient(135deg, #ced310, #4CD310);