Skip to content

#dac770

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

RGB
218, 199, 112
HSL
49°, 59%, 65%
CMYK
0, 9, 49, 15
Luminance
0.5692

Every format

HEX#dac770
RGBrgb(218, 199, 112)
HSLhsl(49, 59%, 65%)
CMYKcmyk(0%, 9%, 49%, 15%)
LABlab(80.1 -4.8 45.7)
LCHlch(80.1 45.9 95.9)
OKLCHoklch(0.827 0.110 97.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dac770 on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#dac770 on black: 12.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green78.0%
Blue43.9%

CMYK percentages

Cyan0.0%
Magenta8.7%
Yellow48.6%
Key (black)14.5%

Color previews

#dac770 text on a black background

contrast 12.38:1

Card sample

#dac770 text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dac770

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dac770 in the Color Lab