Skip to content

#cdff1f

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

RGB
205, 255, 31
HSL
73°, 100%, 56%
CMYK
20, 0, 88, 0
Luminance
0.8460

Every format

HEX#cdff1f
RGBrgb(205, 255, 31)
HSLhsl(73, 100%, 56%)
CMYKcmyk(20%, 0%, 88%, 0%)
LABlab(93.7 -41.2 87.3)
LCHlch(93.7 96.5 115.3)
OKLCHoklch(0.932 0.224 123.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdff1f on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#cdff1f on black: 17.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green100.0%
Blue12.2%

CMYK percentages

Cyan19.6%
Magenta0.0%
Yellow87.8%
Key (black)0.0%

Color previews

#cdff1f text on a black background

contrast 17.92:1

Card sample

#cdff1f text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdff1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdff1f in the Color Lab