#cbf04c
a balanced, electric green · cool · closest name: yellow
RGB
203, 240, 76
HSL
74°, 85%, 62%
CMYK
15, 0, 68, 6
Luminance
0.7554
Every format
| HEX | #cbf04c |
| RGB | rgb(203, 240, 76) |
| HSL | hsl(74, 85%, 62%) |
| CMYK | cmyk(15%, 0%, 68%, 6%) |
| LAB | lab(89.6 -33.5 71.6) |
| LCH | lch(89.6 79.0 115.1) |
| OKLCH | oklch(0.899 0.188 121.4) |
Copy-ready code
/* CSS */
color: #cbf04c;
background-color: #cbf04c;
/* Tailwind (arbitrary) */
class="text-[#cbf04c] bg-[#cbf04c]"
/* SCSS */
$brand: #cbf04c;
/* SwiftUI */
Color(red: 0.796, green: 0.941, blue: 0.298)
/* Android */
Color.parseColor("#cbf04c")Accessibility — WCAG contrast
Aa
#cbf04c on white: 1.30:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cbf04c on black: 16.11:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.6%
Green94.1%
Blue29.8%
CMYK percentages
Cyan15.4%
Magenta0.0%
Yellow68.3%
Key (black)5.9%
Color previews
#cbf04c text on a black background
contrast 16.11:1
Card sample
#cbf04c text on a white background
contrast 1.30:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cbf04c;
Background color
Panel with #cbf04c background
background-color: #cbf04c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cbf04c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(203, 240, 76, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 240, 76, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbf04c; background: linear-gradient(135deg, #cbf04c, #5EF04C);