Skip to content

#cdfb2e

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

RGB
205, 251, 46
HSL
74°, 96%, 58%
CMYK
18, 0, 82, 2
Luminance
0.8217

Every format

HEX#cdfb2e
RGBrgb(205, 251, 46)
HSLhsl(74, 96%, 58%)
CMYKcmyk(18%, 0%, 82%, 2%)
LABlab(92.7 -39.0 83.4)
LCHlch(92.7 92.1 115.1)
OKLCHoklch(0.923 0.215 122.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdfb2e on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#cdfb2e on black: 17.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green98.4%
Blue18.0%

CMYK percentages

Cyan18.3%
Magenta0.0%
Yellow81.7%
Key (black)1.6%

Color previews

#cdfb2e text on a black background

contrast 17.43:1

Card sample

#cdfb2e text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdfb2e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdfb2e in the Color Lab