Skip to content

#eef2cb

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

RGB
238, 242, 203
HSL
66°, 60%, 87%
CMYK
2, 0, 16, 5
Luminance
0.8599

Every format

HEX#eef2cb
RGBrgb(238, 242, 203)
HSLhsl(66, 60%, 87%)
CMYKcmyk(2%, 0%, 16%, 5%)
LABlab(94.3 -7.8 18.4)
LCHlch(94.3 20.0 112.9)
OKLCHoklch(0.948 0.051 112.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eef2cb on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#eef2cb on black: 18.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red93.3%
Green94.9%
Blue79.6%

CMYK percentages

Cyan1.7%
Magenta0.0%
Yellow16.1%
Key (black)5.1%

Color previews

#eef2cb text on a black background

contrast 18.20:1

Card sample

#eef2cb text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eef2cb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eef2cb in the Color Lab