Skip to content

#dfdf95

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

RGB
223, 223, 149
HSL
60°, 54%, 73%
CMYK
0, 0, 33, 13
Luminance
0.7063

Every format

HEX#dfdf95
RGBrgb(223, 223, 149)
HSLhsl(60, 54%, 73%)
CMYKcmyk(0%, 0%, 33%, 13%)
LABlab(87.3 -11.1 36.3)
LCHlch(87.3 38.0 107.0)
OKLCHoklch(0.887 0.095 108.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.5%
Green87.5%
Blue58.4%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow33.2%
Key (black)12.5%

Color previews

#dfdf95 text on a black background

contrast 15.13:1

Card sample

#dfdf95 text on a white background

contrast 1.39:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfdf95

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfdf95 in the Color Lab