Skip to content

#cddb52

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

RGB
205, 219, 82
HSL
66°, 66%, 59%
CMYK
6, 0, 63, 14
Luminance
0.6425

Every format

HEX#cddb52
RGBrgb(205, 219, 82)
HSLhsl(66, 66%, 59%)
CMYKcmyk(6%, 0%, 63%, 14%)
LABlab(84.1 -22.4 63.5)
LCHlch(84.1 67.4 109.4)
OKLCHoklch(0.855 0.159 114.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cddb52 on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#cddb52 on black: 13.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green85.9%
Blue32.2%

CMYK percentages

Cyan6.4%
Magenta0.0%
Yellow62.6%
Key (black)14.1%

Color previews

#cddb52 text on a black background

contrast 13.85:1

Card sample

#cddb52 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 219, 82, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 219, 82, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cddb52;
background: linear-gradient(135deg, #cddb52, #72DB52);

Monochromatic scale

Palettes built from #cddb52

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cddb52 in the Color Lab