Skip to content

#dfe2b2

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

RGB
223, 226, 178
HSL
64°, 45%, 79%
CMYK
1, 0, 21, 11
Luminance
0.7330

Every format

HEX#dfe2b2
RGBrgb(223, 226, 178)
HSLhsl(64, 45%, 79%)
CMYKcmyk(1%, 0%, 21%, 11%)
LABlab(88.6 -8.8 23.2)
LCHlch(88.6 24.8 110.8)
OKLCHoklch(0.898 0.063 110.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dfe2b2 on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#dfe2b2 on black: 15.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.5%
Green88.6%
Blue69.8%

CMYK percentages

Cyan1.3%
Magenta0.0%
Yellow21.2%
Key (black)11.4%

Color previews

#dfe2b2 text on a black background

contrast 15.66:1

Card sample

#dfe2b2 text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dfe2b2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dfe2b2 in the Color Lab