Skip to content

#dac968

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

RGB
218, 201, 104
HSL
51°, 61%, 63%
CMYK
0, 8, 52, 15
Luminance
0.5768

Every format

HEX#dac968
RGBrgb(218, 201, 104)
HSLhsl(51, 61%, 63%)
CMYKcmyk(0%, 8%, 52%, 15%)
LABlab(80.6 -6.5 50.1)
LCHlch(80.6 50.5 97.4)
OKLCHoklch(0.830 0.120 99.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dac968 on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#dac968 on black: 12.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green78.8%
Blue40.8%

CMYK percentages

Cyan0.0%
Magenta7.8%
Yellow52.3%
Key (black)14.5%

Color previews

#dac968 text on a black background

contrast 12.54:1

Card sample

#dac968 text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dac968

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dac968 in the Color Lab