Skip to content

#cdf031

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

RGB
205, 240, 49
HSL
71°, 86%, 57%
CMYK
15, 0, 80, 6
Luminance
0.7552

Every format

HEX#cdf031
RGBrgb(205, 240, 49)
HSLhsl(71, 86%, 57%)
CMYKcmyk(15%, 0%, 80%, 6%)
LABlab(89.6 -34.0 80.0)
LCHlch(89.6 86.9 113.0)
OKLCHoklch(0.899 0.202 120.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdf031 on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#cdf031 on black: 16.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green94.1%
Blue19.2%

CMYK percentages

Cyan14.6%
Magenta0.0%
Yellow79.6%
Key (black)5.9%

Color previews

#cdf031 text on a black background

contrast 16.10:1

Card sample

#cdf031 text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 240, 49, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 240, 49, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdf031;
background: linear-gradient(135deg, #cdf031, #4EF031);

Monochromatic scale

Palettes built from #cdf031

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdf031 in the Color Lab