Skip to content

#cdf982

a light, electric green · cool · closest name: khaki

RGB
205, 249, 130
HSL
82°, 91%, 74%
CMYK
18, 0, 48, 2
Luminance
0.8234

Every format

HEX#cdf982
RGBrgb(205, 249, 130)
HSLhsl(82, 91%, 74%)
CMYKcmyk(18%, 0%, 48%, 2%)
LABlab(92.7 -32.5 52.2)
LCHlch(92.7 61.5 121.9)
OKLCHoklch(0.926 0.154 126.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green97.6%
Blue51.0%

CMYK percentages

Cyan17.7%
Magenta0.0%
Yellow47.8%
Key (black)2.4%

Color previews

#cdf982 text on a black background

contrast 17.47:1

Card sample

#cdf982 text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdf982

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf982 in the Color Lab