Skip to content

#dcdfa2

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

RGB
220, 223, 162
HSL
63°, 49%, 76%
CMYK
1, 0, 27, 13
Luminance
0.7060

Every format

HEX#dcdfa2
RGBrgb(220, 223, 162)
HSLhsl(63, 49%, 76%)
CMYKcmyk(1%, 0%, 27%, 13%)
LABlab(87.3 -10.6 29.6)
LCHlch(87.3 31.5 109.7)
OKLCHoklch(0.887 0.079 110.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcdfa2 on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#dcdfa2 on black: 15.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green87.5%
Blue63.5%

CMYK percentages

Cyan1.3%
Magenta0.0%
Yellow27.4%
Key (black)12.5%

Color previews

#dcdfa2 text on a black background

contrast 15.12:1

Card sample

#dcdfa2 text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcdfa2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcdfa2 in the Color Lab