Skip to content

#dac97f

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

RGB
218, 201, 127
HSL
49°, 55%, 68%
CMYK
0, 8, 42, 15
Luminance
0.5821

Every format

HEX#dac97f
RGBrgb(218, 201, 127)
HSLhsl(49, 55%, 68%)
CMYKcmyk(0%, 8%, 42%, 15%)
LABlab(80.9 -4.3 39.1)
LCHlch(80.9 39.3 96.3)
OKLCHoklch(0.834 0.096 96.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dac97f on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#dac97f on black: 12.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green78.8%
Blue49.8%

CMYK percentages

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

Color previews

#dac97f text on a black background

contrast 12.64:1

Card sample

#dac97f text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dac97f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dac97f in the Color Lab