Skip to content

#eff2af

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

RGB
239, 242, 175
HSL
63°, 72%, 82%
CMYK
1, 0, 28, 5
Luminance
0.8495

Every format

HEX#eff2af
RGBrgb(239, 242, 175)
HSLhsl(63, 72%, 82%)
CMYKcmyk(1%, 0%, 28%, 5%)
LABlab(93.9 -11.3 32.1)
LCHlch(93.9 34.0 109.4)
OKLCHoklch(0.943 0.086 110.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red93.7%
Green94.9%
Blue68.6%

CMYK percentages

Cyan1.2%
Magenta0.0%
Yellow27.7%
Key (black)5.1%

Color previews

#eff2af text on a black background

contrast 17.99:1

Card sample

#eff2af text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eff2af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eff2af in the Color Lab