#cbf308
a balanced, electric green · cool · closest name: yellow
RGB
203, 243, 8
HSL
70°, 94%, 49%
CMYK
17, 0, 97, 5
Luminance
0.7682
Every format
| HEX | #cbf308 |
| RGB | rgb(203, 243, 8) |
| HSL | hsl(70, 94%, 49%) |
| CMYK | cmyk(17%, 0%, 97%, 5%) |
| LAB | lab(90.2 -37.0 87.1) |
| LCH | lch(90.2 94.6 113.0) |
| OKLCH | oklch(0.903 0.216 121.0) |
Copy-ready code
/* CSS */
color: #cbf308;
background-color: #cbf308;
/* Tailwind (arbitrary) */
class="text-[#cbf308] bg-[#cbf308]"
/* SCSS */
$brand: #cbf308;
/* SwiftUI */
Color(red: 0.796, green: 0.953, blue: 0.031)
/* Android */
Color.parseColor("#cbf308")Accessibility — WCAG contrast
Aa
#cbf308 on white: 1.28:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cbf308 on black: 16.36:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.6%
Green95.3%
Blue3.1%
CMYK percentages
Cyan16.5%
Magenta0.0%
Yellow96.7%
Key (black)4.7%
Color previews
#cbf308 text on a black background
contrast 16.36:1
Card sample
#cbf308 text on a white background
contrast 1.28:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cbf308;
Background color
Panel with #cbf308 background
background-color: #cbf308;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cbf308;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(203, 243, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 243, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbf308; background: linear-gradient(135deg, #cbf308, #2EF308);