#cbf331
a balanced, electric green · cool · closest name: yellow
RGB
203, 243, 49
HSL
72°, 89%, 57%
CMYK
17, 0, 80, 5
Luminance
0.7702
Every format
| HEX | #cbf331 |
| RGB | rgb(203, 243, 49) |
| HSL | hsl(72, 89%, 57%) |
| CMYK | cmyk(17%, 0%, 80%, 5%) |
| LAB | lab(90.3 -36.1 80.6) |
| LCH | lch(90.3 88.3 114.1) |
| OKLCH | oklch(0.904 0.206 121.4) |
Copy-ready code
/* CSS */
color: #cbf331;
background-color: #cbf331;
/* Tailwind (arbitrary) */
class="text-[#cbf331] bg-[#cbf331]"
/* SCSS */
$brand: #cbf331;
/* SwiftUI */
Color(red: 0.796, green: 0.953, blue: 0.192)
/* Android */
Color.parseColor("#cbf331")Accessibility — WCAG contrast
Aa
#cbf331 on white: 1.28:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cbf331 on black: 16.40:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.6%
Green95.3%
Blue19.2%
CMYK percentages
Cyan16.5%
Magenta0.0%
Yellow79.8%
Key (black)4.7%
Color previews
#cbf331 text on a black background
contrast 16.40:1
Card sample
#cbf331 text on a white background
contrast 1.28:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cbf331;
Background color
Panel with #cbf331 background
background-color: #cbf331;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cbf331;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(203, 243, 49, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 243, 49, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbf331; background: linear-gradient(135deg, #cbf331, #4AF331);