Skip to content

#cddb2c

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

RGB
205, 219, 44
HSL
65°, 71%, 52%
CMYK
6, 0, 80, 14
Luminance
0.6382

Every format

HEX#cddb2c
RGBrgb(205, 219, 44)
HSLhsl(65, 71%, 52%)
CMYKcmyk(6%, 0%, 80%, 14%)
LABlab(83.9 -24.3 76.3)
LCHlch(83.9 80.0 107.7)
OKLCHoklch(0.853 0.182 114.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cddb2c on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#cddb2c on black: 13.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green85.9%
Blue17.3%

CMYK percentages

Cyan6.4%
Magenta0.0%
Yellow79.9%
Key (black)14.1%

Color previews

#cddb2c text on a black background

contrast 13.76:1

Card sample

#cddb2c text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cddb2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cddb2c in the Color Lab