#cbdf40
a balanced, vivid yellow · cool · closest name: yellow
RGB
203, 223, 64
HSL
68°, 71%, 56%
CMYK
9, 0, 71, 13
Luminance
0.6584
Every format
| HEX | #cbdf40 |
| RGB | rgb(203, 223, 64) |
| HSL | hsl(68, 71%, 56%) |
| CMYK | cmyk(9%, 0%, 71%, 13%) |
| LAB | lab(84.9 -26.2 71.1) |
| LCH | lch(84.9 75.8 110.2) |
| OKLCH | oklch(0.861 0.176 116.5) |
Copy-ready code
/* CSS */
color: #cbdf40;
background-color: #cbdf40;
/* Tailwind (arbitrary) */
class="text-[#cbdf40] bg-[#cbdf40]"
/* SCSS */
$brand: #cbdf40;
/* SwiftUI */
Color(red: 0.796, green: 0.875, blue: 0.251)
/* Android */
Color.parseColor("#cbdf40")Accessibility — WCAG contrast
Aa
#cbdf40 on white: 1.48:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cbdf40 on black: 14.17:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red79.6%
Green87.5%
Blue25.1%
CMYK percentages
Cyan9.0%
Magenta0.0%
Yellow71.3%
Key (black)12.5%
Color previews
#cbdf40 text on a black background
contrast 14.17:1
Card sample
#cbdf40 text on a white background
contrast 1.48:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cbdf40;
Background color
Panel with #cbdf40 background
background-color: #cbdf40;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cbdf40;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(203, 223, 64, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 223, 64, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbdf40; background: linear-gradient(135deg, #cbdf40, #61DF40);