Skip to content

#efdf9f

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

RGB
239, 223, 159
HSL
48°, 71%, 78%
CMYK
0, 7, 34, 6
Luminance
0.7363

Every format

HEX#efdf9f
RGBrgb(239, 223, 159)
HSLhsl(48, 71%, 78%)
CMYKcmyk(0%, 7%, 34%, 6%)
LABlab(88.8 -3.8 33.4)
LCHlch(88.8 33.6 96.5)
OKLCHoklch(0.902 0.084 95.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#efdf9f on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#efdf9f on black: 15.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red93.7%
Green87.5%
Blue62.4%

CMYK percentages

Cyan0.0%
Magenta6.7%
Yellow33.5%
Key (black)6.3%

Color previews

#efdf9f text on a black background

contrast 15.73:1

Card sample

#efdf9f text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #efdf9f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #efdf9f in the Color Lab