Skip to content

#edf2c7

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

RGB
237, 242, 199
HSL
67°, 62%, 87%
CMYK
2, 0, 18, 5
Luminance
0.8563

Every format

HEX#edf2c7
RGBrgb(237, 242, 199)
HSLhsl(67, 62%, 87%)
CMYKcmyk(2%, 0%, 18%, 5%)
LABlab(94.2 -8.7 20.2)
LCHlch(94.2 22.0 113.3)
OKLCHoklch(0.947 0.056 112.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#edf2c7 on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#edf2c7 on black: 18.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.9%
Green94.9%
Blue78.0%

CMYK percentages

Cyan2.1%
Magenta0.0%
Yellow17.8%
Key (black)5.1%

Color previews

#edf2c7 text on a black background

contrast 18.13:1

Card sample

#edf2c7 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(237, 242, 199, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(237, 242, 199, 0.45);
Border & gradient
Gradient panel
border: 3px solid #edf2c7;
background: linear-gradient(135deg, #edf2c7, #D0F2C7);

Monochromatic scale

Palettes built from #edf2c7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #edf2c7 in the Color Lab