Skip to content

#cddb3c

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

RGB
205, 219, 60
HSL
65°, 69%, 55%
CMYK
6, 0, 73, 14
Luminance
0.6397

Every format

HEX#cddb3c
RGBrgb(205, 219, 60)
HSLhsl(65, 69%, 55%)
CMYKcmyk(6%, 0%, 73%, 14%)
LABlab(84.0 -23.7 71.6)
LCHlch(84.0 75.4 108.3)
OKLCHoklch(0.854 0.174 114.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green85.9%
Blue23.5%

CMYK percentages

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

Color previews

#cddb3c text on a black background

contrast 13.79:1

Card sample

#cddb3c text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cddb3c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cddb3c in the Color Lab