Skip to content

#eefbab

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

RGB
238, 251, 171
HSL
70°, 91%, 83%
CMYK
5, 0, 32, 2
Luminance
0.9011

Every format

HEX#eefbab
RGBrgb(238, 251, 171)
HSLhsl(70, 91%, 83%)
CMYKcmyk(5%, 0%, 32%, 2%)
LABlab(96.0 -16.6 37.0)
LCHlch(96.0 40.6 114.2)
OKLCHoklch(0.960 0.102 115.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#eefbab on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#eefbab on black: 19.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red93.3%
Green98.4%
Blue67.1%

CMYK percentages

Cyan5.2%
Magenta0.0%
Yellow31.9%
Key (black)1.6%

Color previews

#eefbab text on a black background

contrast 19.02:1

Card sample

#eefbab text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #eefbab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #eefbab in the Color Lab