Skip to content

#dad47f

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

RGB
218, 212, 127
HSL
56°, 55%, 68%
CMYK
0, 3, 42, 15
Luminance
0.6352

Every format

HEX#dad47f
RGBrgb(218, 212, 127)
HSLhsl(56, 55%, 68%)
CMYKcmyk(0%, 3%, 42%, 15%)
LABlab(83.7 -9.9 42.7)
LCHlch(83.7 43.8 103.1)
OKLCHoklch(0.856 0.107 104.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dad47f on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#dad47f on black: 13.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green83.1%
Blue49.8%

CMYK percentages

Cyan0.0%
Magenta2.8%
Yellow41.7%
Key (black)14.5%

Color previews

#dad47f text on a black background

contrast 13.70:1

Card sample

#dad47f text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dad47f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dad47f in the Color Lab