Skip to content

#def35c

a light, electric yellow · cool · closest name: yellow

RGB
222, 243, 92
HSL
68°, 86%, 66%
CMYK
9, 0, 62, 5
Luminance
0.8040

Every format

HEX#def35c
RGBrgb(222, 243, 92)
HSLhsl(68, 86%, 66%)
CMYKcmyk(9%, 0%, 62%, 5%)
LABlab(91.9 -26.4 68.2)
LCHlch(91.9 73.1 111.2)
OKLCHoklch(0.921 0.174 116.7)

Copy-ready code

/* CSS */
color: #def35c;
background-color: #def35c;
/* Tailwind (arbitrary) */
class="text-[#def35c] bg-[#def35c]"
/* SCSS */
$brand: #def35c;
/* SwiftUI */
Color(red: 0.871, green: 0.953, blue: 0.361)
/* Android */
Color.parseColor("#def35c")

Accessibility — WCAG contrast

Aa
#def35c on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#def35c on black: 17.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green95.3%
Blue36.1%

CMYK percentages

Cyan8.6%
Magenta0.0%
Yellow62.1%
Key (black)4.7%

Color previews

#def35c text on a black background

contrast 17.08:1

Card sample

#def35c text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #def35c;
Background color
Panel with #def35c background
background-color: #def35c;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #def35c;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(222, 243, 92, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 243, 92, 0.45);
Border & gradient
Gradient panel
border: 3px solid #def35c;
background: linear-gradient(135deg, #def35c, #79F35C);

Monochromatic scale

Palettes built from #def35c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #def35c in the Color Lab