Skip to content

#cdf908

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

RGB
205, 249, 8
HSL
71°, 95%, 50%
CMYK
18, 0, 97, 2
Luminance
0.8075

Every format

HEX#cdf908
RGBrgb(205, 249, 8)
HSLhsl(71, 95%, 50%)
CMYKcmyk(18%, 0%, 97%, 2%)
LABlab(92.0 -38.8 88.5)
LCHlch(92.0 96.7 113.7)
OKLCHoklch(0.918 0.221 121.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green97.6%
Blue3.1%

CMYK percentages

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

Color previews

#cdf908 text on a black background

contrast 17.15:1

Card sample

#cdf908 text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdf908

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf908 in the Color Lab