#def033
a balanced, electric yellow · cool · closest name: yellow
RGB
222, 240, 51
HSL
66°, 86%, 57%
CMYK
8, 0, 79, 6
Luminance
0.7809
Every format
| HEX | #def033 |
| RGB | rgb(222, 240, 51) |
| HSL | hsl(66, 86%, 57%) |
| CMYK | cmyk(8%, 0%, 79%, 6%) |
| LAB | lab(90.8 -27.1 81.0) |
| LCH | lch(90.8 85.4 108.5) |
| OKLCH | oklch(0.912 0.195 115.3) |
Copy-ready code
/* CSS */
color: #def033;
background-color: #def033;
/* Tailwind (arbitrary) */
class="text-[#def033] bg-[#def033]"
/* SCSS */
$brand: #def033;
/* SwiftUI */
Color(red: 0.871, green: 0.941, blue: 0.200)
/* Android */
Color.parseColor("#def033")Accessibility — WCAG contrast
Aa
#def033 on white: 1.26:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#def033 on black: 16.62:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red87.1%
Green94.1%
Blue20.0%
CMYK percentages
Cyan7.5%
Magenta0.0%
Yellow78.8%
Key (black)5.9%
Color previews
#def033 text on a black background
contrast 16.62:1
Card sample
#def033 text on a white background
contrast 1.26:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #def033;
Background color
Panel with #def033 background
background-color: #def033;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #def033;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(222, 240, 51, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 240, 51, 0.45);
Border & gradient
Gradient panel
border: 3px solid #def033; background: linear-gradient(135deg, #def033, #60F033);