#cbda21
a balanced, vivid yellow · cool · closest name: yellow
RGB
203, 218, 33
HSL
65°, 74%, 49%
CMYK
7, 0, 85, 15
Luminance
0.6295
Every format
| HEX | #cbda21 |
| RGB | rgb(203, 218, 33) |
| HSL | hsl(65, 74%, 49%) |
| CMYK | cmyk(7%, 0%, 85%, 15%) |
| LAB | lab(83.4 -24.9 78.4) |
| LCH | lch(83.4 82.3 107.7) |
| OKLCH | oklch(0.849 0.185 114.8) |
Copy-ready code
/* CSS */
color: #cbda21;
background-color: #cbda21;
/* Tailwind (arbitrary) */
class="text-[#cbda21] bg-[#cbda21]"
/* SCSS */
$brand: #cbda21;
/* SwiftUI */
Color(red: 0.796, green: 0.855, blue: 0.129)
/* Android */
Color.parseColor("#cbda21")Accessibility — WCAG contrast
Aa
#cbda21 on white: 1.55:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cbda21 on black: 13.59:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.6%
Green85.5%
Blue12.9%
CMYK percentages
Cyan6.9%
Magenta0.0%
Yellow84.9%
Key (black)14.5%
Color previews
#cbda21 text on a black background
contrast 13.59:1
Card sample
#cbda21 text on a white background
contrast 1.55:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cbda21;
Background color
Panel with #cbda21 background
background-color: #cbda21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cbda21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(203, 218, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 218, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbda21; background: linear-gradient(135deg, #cbda21, #50DA21);