Skip to content

#cdf93b

a balanced, electric green · cool · closest name: yellow

RGB
205, 249, 59
HSL
74°, 94%, 60%
CMYK
18, 0, 76, 2
Luminance
0.8105

Every format

HEX#cdf93b
RGBrgb(205, 249, 59)
HSLhsl(74, 94%, 60%)
CMYKcmyk(18%, 0%, 76%, 2%)
LABlab(92.2 -37.6 79.6)
LCHlch(92.2 88.0 115.3)
OKLCHoklch(0.920 0.207 122.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdf93b on white: 1.22:1
AA ✗ fail · AA-large · AAA
Aa
#cdf93b on black: 17.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green97.6%
Blue23.1%

CMYK percentages

Cyan17.7%
Magenta0.0%
Yellow76.3%
Key (black)2.4%

Color previews

#cdf93b text on a black background

contrast 17.21:1

Card sample

#cdf93b text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 249, 59, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 249, 59, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdf93b;
background: linear-gradient(135deg, #cdf93b, #4EF93B);

Monochromatic scale

Palettes built from #cdf93b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf93b in the Color Lab