#c2db28
a balanced, vivid yellow · cool · closest name: yellow
RGB
194, 219, 40
HSL
68°, 71%, 51%
CMYK
11, 0, 82, 14
Luminance
0.6229
Every format
| HEX | #c2db28 |
| RGB | rgb(194, 219, 40) |
| HSL | hsl(68, 71%, 51%) |
| CMYK | cmyk(11%, 0%, 82%, 14%) |
| LAB | lab(83.1 -28.9 76.3) |
| LCH | lch(83.1 81.6 110.8) |
| OKLCH | oklch(0.844 0.187 118.0) |
Copy-ready code
/* CSS */
color: #c2db28;
background-color: #c2db28;
/* Tailwind (arbitrary) */
class="text-[#c2db28] bg-[#c2db28]"
/* SCSS */
$brand: #c2db28;
/* SwiftUI */
Color(red: 0.761, green: 0.859, blue: 0.157)
/* Android */
Color.parseColor("#c2db28")Accessibility — WCAG contrast
Aa
#c2db28 on white: 1.56:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#c2db28 on black: 13.46:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red76.1%
Green85.9%
Blue15.7%
CMYK percentages
Cyan11.4%
Magenta0.0%
Yellow81.7%
Key (black)14.1%
Color previews
#c2db28 text on a black background
contrast 13.46:1
Card sample
#c2db28 text on a white background
contrast 1.56:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #c2db28;
Background color
Panel with #c2db28 background
background-color: #c2db28;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #c2db28;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(194, 219, 40, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 219, 40, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2db28; background: linear-gradient(135deg, #c2db28, #4BDB28);