#cbf005
a balanced, electric yellow · cool · closest name: yellow
RGB
203, 240, 5
HSL
69°, 96%, 48%
CMYK
15, 0, 98, 6
Luminance
0.7503
Every format
| HEX | #cbf005 |
| RGB | rgb(203, 240, 5) |
| HSL | hsl(69, 96%, 48%) |
| CMYK | cmyk(15%, 0%, 98%, 6%) |
| LAB | lab(89.4 -35.6 86.7) |
| LCH | lch(89.4 93.7 112.3) |
| OKLCH | oklch(0.897 0.213 120.3) |
Copy-ready code
/* CSS */
color: #cbf005;
background-color: #cbf005;
/* Tailwind (arbitrary) */
class="text-[#cbf005] bg-[#cbf005]"
/* SCSS */
$brand: #cbf005;
/* SwiftUI */
Color(red: 0.796, green: 0.941, blue: 0.020)
/* Android */
Color.parseColor("#cbf005")Accessibility — WCAG contrast
Aa
#cbf005 on white: 1.31:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cbf005 on black: 16.01:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.6%
Green94.1%
Blue2.0%
CMYK percentages
Cyan15.4%
Magenta0.0%
Yellow97.9%
Key (black)5.9%
Color previews
#cbf005 text on a black background
contrast 16.01:1
Card sample
#cbf005 text on a white background
contrast 1.31:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cbf005;
Background color
Panel with #cbf005 background
background-color: #cbf005;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cbf005;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(203, 240, 5, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 240, 5, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbf005; background: linear-gradient(135deg, #cbf005, #2EF005);