Skip to content

#cddb46

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

RGB
205, 219, 70
HSL
66°, 67%, 57%
CMYK
6, 0, 68, 14
Luminance
0.6408

Every format

HEX#cddb46
RGBrgb(205, 219, 70)
HSLhsl(66, 67%, 57%)
CMYKcmyk(6%, 0%, 68%, 14%)
LABlab(84.0 -23.1 68.1)
LCHlch(84.0 72.0 108.8)
OKLCHoklch(0.854 0.168 114.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.4%
Green85.9%
Blue27.5%

CMYK percentages

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

Color previews

#cddb46 text on a black background

contrast 13.82:1

Card sample

#cddb46 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cddb46

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cddb46 in the Color Lab