#ccb113
a dark, electric yellow · cool · closest name: gold
RGB
204, 177, 19
HSL
51°, 83%, 44%
CMYK
0, 13, 91, 20
Luminance
0.4433
Every format
| HEX | #ccb113 |
| RGB | rgb(204, 177, 19) |
| HSL | hsl(51, 83%, 44%) |
| CMYK | cmyk(0%, 13%, 91%, 20%) |
| LAB | lab(72.5 -4.2 72.3) |
| LCH | lch(72.5 72.4 93.4) |
| OKLCH | oklch(0.761 0.154 97.8) |
Copy-ready code
/* CSS */
color: #ccb113;
background-color: #ccb113;
/* Tailwind (arbitrary) */
class="text-[#ccb113] bg-[#ccb113]"
/* SCSS */
$brand: #ccb113;
/* SwiftUI */
Color(red: 0.800, green: 0.694, blue: 0.075)
/* Android */
Color.parseColor("#ccb113")Accessibility — WCAG contrast
Aa
#ccb113 on white: 2.13:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#ccb113 on black: 9.87:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.0%
Green69.4%
Blue7.5%
CMYK percentages
Cyan0.0%
Magenta13.2%
Yellow90.7%
Key (black)20.0%
Color previews
#ccb113 text on a black background
contrast 9.87:1
Card sample
#ccb113 text on a white background
contrast 2.13:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #ccb113;
Background color
Panel with #ccb113 background
background-color: #ccb113;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #ccb113;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(204, 177, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 177, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccb113; background: linear-gradient(135deg, #ccb113, #6CCC13);