Skip to content

#eef2b6

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

RGB
238, 242, 182
HSL
64°, 70%, 83%
CMYK
2, 0, 25, 5
Luminance
0.8506

Every format

HEX#eef2b6
RGBrgb(238, 242, 182)
HSLhsl(64, 70%, 83%)
CMYKcmyk(2%, 0%, 25%, 5%)
LABlab(93.9 -10.8 28.6)
LCHlch(93.9 30.6 110.6)
OKLCHoklch(0.944 0.077 111.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eef2b6 on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#eef2b6 on black: 18.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red93.3%
Green94.9%
Blue71.4%

CMYK percentages

Cyan1.7%
Magenta0.0%
Yellow24.8%
Key (black)5.1%

Color previews

#eef2b6 text on a black background

contrast 18.01:1

Card sample

#eef2b6 text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eef2b6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eef2b6 in the Color Lab