#c1e310
a balanced, electric yellow · cool · closest name: yellow
RGB
193, 227, 16
HSL
70°, 87%, 48%
CMYK
15, 0, 93, 11
Luminance
0.6631
Every format
| HEX | #c1e310 |
| RGB | rgb(193, 227, 16) |
| HSL | hsl(70, 87%, 48%) |
| CMYK | cmyk(15%, 0%, 93%, 11%) |
| LAB | lab(85.2 -33.6 82.2) |
| LCH | lch(85.2 88.8 112.2) |
| OKLCH | oklch(0.861 0.202 120.1) |
Copy-ready code
/* CSS */
color: #c1e310;
background-color: #c1e310;
/* Tailwind (arbitrary) */
class="text-[#c1e310] bg-[#c1e310]"
/* SCSS */
$brand: #c1e310;
/* SwiftUI */
Color(red: 0.757, green: 0.890, blue: 0.063)
/* Android */
Color.parseColor("#c1e310")Accessibility — WCAG contrast
Aa
#c1e310 on white: 1.47:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c1e310 on black: 14.26:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red75.7%
Green89.0%
Blue6.3%
CMYK percentages
Cyan15.0%
Magenta0.0%
Yellow93.0%
Key (black)11.0%
Color previews
#c1e310 text on a black background
contrast 14.26:1
Card sample
#c1e310 text on a white background
contrast 1.47:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c1e310;
Background color
Panel with #c1e310 background
background-color: #c1e310;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c1e310;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(193, 227, 16, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(193, 227, 16, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c1e310; background: linear-gradient(135deg, #c1e310, #34E310);