Skip to content

#eff2ac

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

RGB
239, 242, 172
HSL
63°, 73%, 81%
CMYK
1, 0, 29, 5
Luminance
0.8483

Every format

HEX#eff2ac
RGBrgb(239, 242, 172)
HSLhsl(63, 73%, 81%)
CMYKcmyk(1%, 0%, 29%, 5%)
LABlab(93.8 -11.7 33.5)
LCHlch(93.8 35.5 109.2)
OKLCHoklch(0.943 0.089 110.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red93.7%
Green94.9%
Blue67.5%

CMYK percentages

Cyan1.2%
Magenta0.0%
Yellow28.9%
Key (black)5.1%

Color previews

#eff2ac text on a black background

contrast 17.97:1

Card sample

#eff2ac text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eff2ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eff2ac in the Color Lab