#cbe721
a balanced, electric yellow · cool · closest name: yellow
RGB
203, 231, 33
HSL
69°, 81%, 52%
CMYK
12, 0, 86, 9
Luminance
0.6996
Every format
| HEX | #cbe721 |
| RGB | rgb(203, 231, 33) |
| HSL | hsl(69, 81%, 52%) |
| CMYK | cmyk(12%, 0%, 86%, 9%) |
| LAB | lab(87.0 -31.1 81.3) |
| LCH | lch(87.0 87.1 110.9) |
| OKLCH | oklch(0.877 0.199 118.4) |
Copy-ready code
/* CSS */
color: #cbe721;
background-color: #cbe721;
/* Tailwind (arbitrary) */
class="text-[#cbe721] bg-[#cbe721]"
/* SCSS */
$brand: #cbe721;
/* SwiftUI */
Color(red: 0.796, green: 0.906, blue: 0.129)
/* Android */
Color.parseColor("#cbe721")Accessibility — WCAG contrast
Aa
#cbe721 on white: 1.40:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cbe721 on black: 14.99:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.6%
Green90.6%
Blue12.9%
CMYK percentages
Cyan12.1%
Magenta0.0%
Yellow85.7%
Key (black)9.4%
Color previews
#cbe721 text on a black background
contrast 14.99:1
Card sample
#cbe721 text on a white background
contrast 1.40:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cbe721;
Background color
Panel with #cbe721 background
background-color: #cbe721;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cbe721;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(203, 231, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 231, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbe721; background: linear-gradient(135deg, #cbe721, #47E721);