Skip to content

#dfe28f

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

RGB
223, 226, 143
HSL
62°, 59%, 72%
CMYK
1, 0, 37, 11
Luminance
0.7206

Every format

HEX#dfe28f
RGBrgb(223, 226, 143)
HSLhsl(62, 59%, 72%)
CMYKcmyk(1%, 0%, 37%, 11%)
LABlab(88.0 -13.3 40.3)
LCHlch(88.0 42.4 108.3)
OKLCHoklch(0.892 0.105 110.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfe28f on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#dfe28f on black: 15.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green88.6%
Blue56.1%

CMYK percentages

Cyan1.3%
Magenta0.0%
Yellow36.7%
Key (black)11.4%

Color previews

#dfe28f text on a black background

contrast 15.41:1

Card sample

#dfe28f text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfe28f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfe28f in the Color Lab