Skip to content

#dfdf70

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

RGB
223, 223, 112
HSL
60°, 63%, 66%
CMYK
0, 0, 50, 13
Luminance
0.6963

Every format

HEX#dfdf70
RGBrgb(223, 223, 112)
HSLhsl(60, 63%, 66%)
CMYKcmyk(0%, 0%, 50%, 13%)
LABlab(86.8 -14.9 53.8)
LCHlch(86.8 55.8 105.5)
OKLCHoklch(0.881 0.134 108.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green87.5%
Blue43.9%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow49.8%
Key (black)12.5%

Color previews

#dfdf70 text on a black background

contrast 14.93:1

Card sample

#dfdf70 text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdf70

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdf70 in the Color Lab