Skip to content

#dacf7c

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

RGB
218, 207, 124
HSL
53°, 56%, 67%
CMYK
0, 5, 43, 15
Luminance
0.6099

Every format

HEX#dacf7c
RGBrgb(218, 207, 124)
HSLhsl(53, 56%, 67%)
CMYKcmyk(0%, 5%, 43%, 15%)
LABlab(82.4 -7.7 42.5)
LCHlch(82.4 43.2 100.3)
OKLCHoklch(0.845 0.105 101.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dacf7c on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#dacf7c on black: 13.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red85.5%
Green81.2%
Blue48.6%

CMYK percentages

Cyan0.0%
Magenta5.0%
Yellow43.1%
Key (black)14.5%

Color previews

#dacf7c text on a black background

contrast 13.20:1

Card sample

#dacf7c text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dacf7c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dacf7c in the Color Lab