Skip to content

#dfd495

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

RGB
223, 212, 149
HSL
51°, 54%, 73%
CMYK
0, 5, 33, 13
Luminance
0.6494

Every format

HEX#dfd495
RGBrgb(223, 212, 149)
HSLhsl(51, 54%, 73%)
CMYKcmyk(0%, 5%, 33%, 13%)
LABlab(84.5 -5.5 32.6)
LCHlch(84.5 33.0 99.6)
OKLCHoklch(0.864 0.082 99.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green83.1%
Blue58.4%

CMYK percentages

Cyan0.0%
Magenta4.9%
Yellow33.2%
Key (black)12.5%

Color previews

#dfd495 text on a black background

contrast 13.99:1

Card sample

#dfd495 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfd495

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfd495 in the Color Lab