Skip to content

#cddf30

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

RGB
205, 223, 48
HSL
66°, 73%, 53%
CMYK
8, 0, 79, 13
Luminance
0.6597

Every format

HEX#cddf30
RGBrgb(205, 223, 48)
HSLhsl(66, 73%, 53%)
CMYKcmyk(8%, 0%, 79%, 13%)
LABlab(85.0 -26.1 76.2)
LCHlch(85.0 80.5 108.9)
OKLCHoklch(0.862 0.184 115.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cddf30 on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#cddf30 on black: 14.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green87.5%
Blue18.8%

CMYK percentages

Cyan8.1%
Magenta0.0%
Yellow78.5%
Key (black)12.5%

Color previews

#cddf30 text on a black background

contrast 14.19:1

Card sample

#cddf30 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cddf30

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cddf30 in the Color Lab