Skip to content

#d6df97

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

RGB
214, 223, 151
HSL
68°, 53%, 73%
CMYK
4, 0, 32, 13
Luminance
0.6931

Every format

HEX#d6df97
RGBrgb(214, 223, 151)
HSLhsl(68, 53%, 73%)
CMYKcmyk(4%, 0%, 32%, 13%)
LABlab(86.7 -14.3 34.4)
LCHlch(86.7 37.2 112.6)
OKLCHoklch(0.880 0.093 114.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d6df97 on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#d6df97 on black: 14.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.9%
Green87.5%
Blue59.2%

CMYK percentages

Cyan4.0%
Magenta0.0%
Yellow32.3%
Key (black)12.5%

Color previews

#d6df97 text on a black background

contrast 14.86:1

Card sample

#d6df97 text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(214, 223, 151, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(214, 223, 151, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d6df97;
background: linear-gradient(135deg, #d6df97, #A6DF97);

Monochromatic scale

Palettes built from #d6df97

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d6df97 in the Color Lab