#c0cd0b
a dark, electric yellow · cool · closest name: yellow
RGB
192, 205, 11
HSL
64°, 90%, 42%
CMYK
6, 0, 95, 20
Luminance
0.5489
Every format
| HEX | #c0cd0b |
| RGB | rgb(192, 205, 11) |
| HSL | hsl(64, 90%, 42%) |
| CMYK | cmyk(6%, 0%, 95%, 20%) |
| LAB | lab(79.0 -23.7 77.9) |
| LCH | lch(79.0 81.4 106.9) |
| OKLCH | oklch(0.811 0.181 114.3) |
Copy-ready code
/* CSS */
color: #c0cd0b;
background-color: #c0cd0b;
/* Tailwind (arbitrary) */
class="text-[#c0cd0b] bg-[#c0cd0b]"
/* SCSS */
$brand: #c0cd0b;
/* SwiftUI */
Color(red: 0.753, green: 0.804, blue: 0.043)
/* Android */
Color.parseColor("#c0cd0b")Accessibility — WCAG contrast
Aa
#c0cd0b on white: 1.75:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c0cd0b on black: 11.98:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red75.3%
Green80.4%
Blue4.3%
CMYK percentages
Cyan6.3%
Magenta0.0%
Yellow94.6%
Key (black)19.6%
Color previews
#c0cd0b text on a black background
contrast 11.98:1
Card sample
#c0cd0b text on a white background
contrast 1.75:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c0cd0b;
Background color
Panel with #c0cd0b background
background-color: #c0cd0b;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c0cd0b;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(192, 205, 11, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 205, 11, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c0cd0b; background: linear-gradient(135deg, #c0cd0b, #3FCD0B);