Skip to content

#cddf32

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

RGB
205, 223, 50
HSL
66°, 73%, 54%
CMYK
8, 0, 78, 13
Luminance
0.6598

Every format

HEX#cddf32
RGBrgb(205, 223, 50)
HSLhsl(66, 73%, 54%)
CMYKcmyk(8%, 0%, 78%, 13%)
LABlab(85.0 -26.0 75.6)
LCHlch(85.0 80.0 109.0)
OKLCHoklch(0.862 0.183 115.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green87.5%
Blue19.6%

CMYK percentages

Cyan8.1%
Magenta0.0%
Yellow77.6%
Key (black)12.5%

Color previews

#cddf32 text on a black background

contrast 14.20:1

Card sample

#cddf32 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cddf32

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cddf32 in the Color Lab