Skip to content

#dfd490

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

RGB
223, 212, 144
HSL
52°, 55%, 72%
CMYK
0, 5, 35, 13
Luminance
0.6479

Every format

HEX#dfd490
RGBrgb(223, 212, 144)
HSLhsl(52, 55%, 72%)
CMYKcmyk(0%, 5%, 35%, 13%)
LABlab(84.4 -6.1 35.0)
LCHlch(84.4 35.6 99.9)
OKLCHoklch(0.863 0.088 100.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfd490 on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#dfd490 on black: 13.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green83.1%
Blue56.5%

CMYK percentages

Cyan0.0%
Magenta4.9%
Yellow35.4%
Key (black)12.5%

Color previews

#dfd490 text on a black background

contrast 13.96:1

Card sample

#dfd490 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd490

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd490 in the Color Lab