Skip to content

#cdf845

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

RGB
205, 248, 69
HSL
74°, 93%, 62%
CMYK
17, 0, 72, 3
Luminance
0.8054

Every format

HEX#cdf845
RGBrgb(205, 248, 69)
HSLhsl(74, 93%, 62%)
CMYKcmyk(17%, 0%, 72%, 3%)
LABlab(91.9 -36.7 76.3)
LCHlch(91.9 84.7 115.7)
OKLCHoklch(0.918 0.201 122.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdf845 on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#cdf845 on black: 17.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green97.3%
Blue27.1%

CMYK percentages

Cyan17.3%
Magenta0.0%
Yellow72.2%
Key (black)2.7%

Color previews

#cdf845 text on a black background

contrast 17.11:1

Card sample

#cdf845 text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 248, 69, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 248, 69, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdf845;
background: linear-gradient(135deg, #cdf845, #56F845);

Monochromatic scale

Palettes built from #cdf845

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf845 in the Color Lab