Skip to content

#cdec30

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

RGB
205, 236, 48
HSL
70°, 83%, 56%
CMYK
13, 0, 80, 8
Luminance
0.7318

Every format

HEX#cdec30
RGBrgb(205, 236, 48)
HSLhsl(70, 83%, 56%)
CMYKcmyk(13%, 0%, 80%, 8%)
LABlab(88.5 -32.1 79.3)
LCHlch(88.5 85.6 112.1)
OKLCHoklch(0.890 0.198 119.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdec30 on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#cdec30 on black: 15.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green92.5%
Blue18.8%

CMYK percentages

Cyan13.1%
Magenta0.0%
Yellow79.7%
Key (black)7.5%

Color previews

#cdec30 text on a black background

contrast 15.64:1

Card sample

#cdec30 text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 236, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 236, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdec30;
background: linear-gradient(135deg, #cdec30, #50EC30);

Monochromatic scale

Palettes built from #cdec30

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdec30 in the Color Lab