Skip to content

#cdd492

a light, soft yellow · cool · closest name: khaki

RGB
205, 212, 146
HSL
66°, 43%, 70%
CMYK
3, 0, 31, 17
Luminance
0.6214

Every format

HEX#cdd492
RGBrgb(205, 212, 146)
HSLhsl(66, 43%, 70%)
CMYKcmyk(3%, 0%, 31%, 17%)
LABlab(83.0 -12.8 31.9)
LCHlch(83.0 34.4 111.8)
OKLCHoklch(0.849 0.086 113.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdd492 on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#cdd492 on black: 13.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green83.1%
Blue57.3%

CMYK percentages

Cyan3.3%
Magenta0.0%
Yellow31.1%
Key (black)16.9%

Color previews

#cdd492 text on a black background

contrast 13.43:1

Card sample

#cdd492 text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 212, 146, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 212, 146, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdd492;
background: linear-gradient(135deg, #cdd492, #A1D492);

Monochromatic scale

Palettes built from #cdd492

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdd492 in the Color Lab