#cde538
a balanced, electric yellow · cool · closest name: yellow
RGB
205, 229, 56
HSL
68°, 77%, 56%
CMYK
11, 0, 76, 10
Luminance
0.6930
Every format
| HEX | #cde538 |
| RGB | rgb(205, 229, 56) |
| HSL | hsl(68, 77%, 56%) |
| CMYK | cmyk(11%, 0%, 76%, 10%) |
| LAB | lab(86.7 -28.6 75.4) |
| LCH | lch(86.7 80.6 110.8) |
| OKLCH | oklch(0.875 0.187 117.5) |
Copy-ready code
/* CSS */
color: #cde538;
background-color: #cde538;
/* Tailwind (arbitrary) */
class="text-[#cde538] bg-[#cde538]"
/* SCSS */
$brand: #cde538;
/* SwiftUI */
Color(red: 0.804, green: 0.898, blue: 0.220)
/* Android */
Color.parseColor("#cde538")Accessibility — WCAG contrast
Aa
#cde538 on white: 1.41:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#cde538 on black: 14.86:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red80.4%
Green89.8%
Blue22.0%
CMYK percentages
Cyan10.5%
Magenta0.0%
Yellow75.5%
Key (black)10.2%
Color previews
#cde538 text on a black background
contrast 14.86:1
Card sample
#cde538 text on a white background
contrast 1.41:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #cde538;
Background color
Panel with #cde538 background
background-color: #cde538;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #cde538;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(205, 229, 56, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 229, 56, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cde538; background: linear-gradient(135deg, #cde538, #5AE538);