#c2cd01
a dark, electric yellow · cool · closest name: yellow
RGB
194, 205, 1
HSL
63°, 99%, 40%
CMYK
5, 0, 100, 20
Luminance
0.5513
Every format
| HEX | #c2cd01 |
| RGB | rgb(194, 205, 1) |
| HSL | hsl(63, 99%, 40%) |
| CMYK | cmyk(5%, 0%, 100%, 20%) |
| LAB | lab(79.1 -22.9 79.0) |
| LCH | lch(79.1 82.3 106.2) |
| OKLCH | oklch(0.812 0.182 113.6) |
Copy-ready code
/* CSS */
color: #c2cd01;
background-color: #c2cd01;
/* Tailwind (arbitrary) */
class="text-[#c2cd01] bg-[#c2cd01]"
/* SCSS */
$brand: #c2cd01;
/* SwiftUI */
Color(red: 0.761, green: 0.804, blue: 0.004)
/* Android */
Color.parseColor("#c2cd01")Accessibility — WCAG contrast
Aa
#c2cd01 on white: 1.75:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c2cd01 on black: 12.03:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.1%
Green80.4%
Blue0.4%
CMYK percentages
Cyan5.4%
Magenta0.0%
Yellow99.5%
Key (black)19.6%
Color previews
#c2cd01 text on a black background
contrast 12.03:1
Card sample
#c2cd01 text on a white background
contrast 1.75:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c2cd01;
Background color
Panel with #c2cd01 background
background-color: #c2cd01;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c2cd01;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(194, 205, 1, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 205, 1, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2cd01; background: linear-gradient(135deg, #c2cd01, #3ACD01);