Skip to content

#cdfb1f

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

RGB
205, 251, 31
HSL
73°, 97%, 55%
CMYK
18, 0, 88, 2
Luminance
0.8207

Every format

HEX#cdfb1f
RGBrgb(205, 251, 31)
HSLhsl(73, 97%, 55%)
CMYKcmyk(18%, 0%, 88%, 2%)
LABlab(92.6 -39.4 86.3)
LCHlch(92.6 94.9 114.5)
OKLCHoklch(0.923 0.219 122.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdfb1f on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#cdfb1f on black: 17.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green98.4%
Blue12.2%

CMYK percentages

Cyan18.3%
Magenta0.0%
Yellow87.6%
Key (black)1.6%

Color previews

#cdfb1f text on a black background

contrast 17.41:1

Card sample

#cdfb1f text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 251, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 251, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdfb1f;
background: linear-gradient(135deg, #cdfb1f, #3BFB1F);

Monochromatic scale

Palettes built from #cdfb1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdfb1f in the Color Lab