#cbf151
a balanced, electric green · cool · closest name: yellow
RGB
203, 241, 81
HSL
74°, 85%, 63%
CMYK
16, 0, 66, 6
Luminance
0.7620
Every format
| HEX | #cbf151 |
| RGB | rgb(203, 241, 81) |
| HSL | hsl(74, 85%, 63%) |
| CMYK | cmyk(16%, 0%, 66%, 6%) |
| LAB | lab(90.0 -33.6 70.0) |
| LCH | lch(90.0 77.7 115.7) |
| OKLCH | oklch(0.902 0.186 121.8) |
Copy-ready code
/* CSS */
color: #cbf151;
background-color: #cbf151;
/* Tailwind (arbitrary) */
class="text-[#cbf151] bg-[#cbf151]"
/* SCSS */
$brand: #cbf151;
/* SwiftUI */
Color(red: 0.796, green: 0.945, blue: 0.318)
/* Android */
Color.parseColor("#cbf151")Accessibility — WCAG contrast
Aa
#cbf151 on white: 1.29:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cbf151 on black: 16.24:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.6%
Green94.5%
Blue31.8%
CMYK percentages
Cyan15.8%
Magenta0.0%
Yellow66.4%
Key (black)5.5%
Color previews
#cbf151 text on a black background
contrast 16.24:1
Card sample
#cbf151 text on a white background
contrast 1.29:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cbf151;
Background color
Panel with #cbf151 background
background-color: #cbf151;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cbf151;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(203, 241, 81, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 241, 81, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbf151; background: linear-gradient(135deg, #cbf151, #60F151);