Skip to content

#cddb66

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

RGB
205, 219, 102
HSL
67°, 62%, 63%
CMYK
6, 0, 53, 14
Luminance
0.6460

Every format

HEX#cddb66
RGBrgb(205, 219, 102)
HSLhsl(67, 62%, 63%)
CMYKcmyk(6%, 0%, 53%, 14%)
LABlab(84.3 -20.9 55.1)
LCHlch(84.3 58.9 110.8)
OKLCHoklch(0.857 0.142 115.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cddb66 on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#cddb66 on black: 13.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green85.9%
Blue40.0%

CMYK percentages

Cyan6.4%
Magenta0.0%
Yellow53.4%
Key (black)14.1%

Color previews

#cddb66 text on a black background

contrast 13.92:1

Card sample

#cddb66 text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cddb66

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cddb66 in the Color Lab