Skip to content

#dfdf89

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

RGB
223, 223, 137
HSL
60°, 57%, 71%
CMYK
0, 0, 39, 13
Luminance
0.7027

Every format

HEX#dfdf89
RGBrgb(223, 223, 137)
HSLhsl(60, 57%, 71%)
CMYKcmyk(0%, 0%, 39%, 13%)
LABlab(87.1 -12.4 42.1)
LCHlch(87.1 43.9 106.5)
OKLCHoklch(0.885 0.108 108.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdf89 on white: 1.39:1
AA ✗ fail · AA-large · AAA
Aa
#dfdf89 on black: 15.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green87.5%
Blue53.7%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow38.6%
Key (black)12.5%

Color previews

#dfdf89 text on a black background

contrast 15.05:1

Card sample

#dfdf89 text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdf89

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdf89 in the Color Lab