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