Skip to content

#dfdf82

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

RGB
223, 223, 130
HSL
60°, 59%, 69%
CMYK
0, 0, 42, 13
Luminance
0.7008

Every format

HEX#dfdf82
RGBrgb(223, 223, 130)
HSLhsl(60, 59%, 69%)
CMYKcmyk(0%, 0%, 42%, 13%)
LABlab(87.0 -13.2 45.5)
LCHlch(87.0 47.3 106.2)
OKLCHoklch(0.884 0.116 108.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfdf82 on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#dfdf82 on black: 15.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green87.5%
Blue51.0%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow41.7%
Key (black)12.5%

Color previews

#dfdf82 text on a black background

contrast 15.02:1

Card sample

#dfdf82 text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdf82

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdf82 in the Color Lab