Skip to content

#efefac

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

RGB
239, 239, 172
HSL
60°, 68%, 81%
CMYK
0, 0, 28, 6
Luminance
0.8306

Every format

HEX#efefac
RGBrgb(239, 239, 172)
HSLhsl(60, 68%, 81%)
CMYKcmyk(0%, 0%, 28%, 6%)
LABlab(93.0 -10.2 32.5)
LCHlch(93.0 34.1 107.4)
OKLCHoklch(0.936 0.086 107.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#efefac on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#efefac on black: 17.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red93.7%
Green93.7%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow28.0%
Key (black)6.3%

Color previews

#efefac text on a black background

contrast 17.61:1

Card sample

#efefac text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #efefac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #efefac in the Color Lab