Maroon Colors  ·  Color Library

Palettes / Colors / #FFEFAC

#FFEFAC — Pale Vivid Yellow

#FFEFAC is a yellow color we call Pale Vivid Yellow, closest to the named color Moccasin (#FFE4B5). It belongs to the yellow family.

Color name

Closest CSS keyword: moccasin (#FFE4B5) — not an exact match. CSS moccasin gives you #FFE4B5, a different color; use #FFEFAC when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#FFEFAC is a warm yellow color associated with optimism, attention and cheer. It is light enough to work as a background or base color, with darker text on top.

Its strongest partner is its complement #ADBEFF; it also sits naturally between #FFC6AD and #E7FFAD. In the palettes below you can see it working alongside real color combinations from our collection.

#FFEFAC · RGB 255, 239, 172

Download PNG swatch SVG

Color values

HEX#FFEFAC
RGB255, 239, 172
HSL48°, 100%, 84%
HSV48°, 33%, 100%
CMYK0%, 6%, 33%, 0%
XYZ79.55, 85.97, 51.43
Yxy85.97, 0.3667, 0.3963
CIE-Lab94.30, -4.23, 34.41
Hunter Lab92.72, -4.23, 28.01

RGB & CMYK percentages

Red 100% · Green 94% · Blue 67%

Cyan 0% · Magenta 6% · Yellow 33% · Key 0%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #FFEFAC on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #FFEFAC on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #FFEFAC

.text { color: #FFEFAC; }
.background { background-color: #FFEFAC; }
.border { border: 3px solid #FFEFAC; }
.text-rgb { color: rgb(255, 239, 172); }
.text-hsl { color: hsl(48, 100%, 84%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #FFEFAC; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(255, 239, 172, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #FFEFAC; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(255, 239, 172, 0.8); }

HTML: <p style="color:#FFEFAC">Text here</p> · <div style="background-color:#FFEFAC">Div content here</div>

Shades of #FFEFAC

#FFE785#FFDE5C#FFD633#FFCE0A#E0B400#B89300#8F7200#665200#3D3100#141000

Tints of #FFEFAC

#FFF0B3#FFF1B8#FFF3C2#FFF4C7#FFF5CC#FFF6D1#FFF7D6#FFF9E0#FFFAE5#FFFBEB

Tones of #FFEFAC

#F9EBB3#F3E8B9#EDE4BF#E8E1C5#E2DDCA#DCDAD0

Color harmonies

Complementary — #ADBEFF:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.15:1 Fails
Against black text18.19:1 AAA

Best text color on #FFEFAC: #000000.

Semi-transparent (opacity) text on #FFEFAC

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #FFEFAC: ·

How #FFEFAC looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #F8F8BCDeuteranopia · #F9FAC0Tritanopia · #FEC9CC

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Bootstrap light · #F8F9FAMaterial Yellow 500 · #FFEB3BMaterial Lime 500 · #CDDC39

Palettes with a similar color

These palettes use a close neighbour of #FFEFAC rather than the exact color:

Palette 96ceb4
#96CEB4 · #FFEEAD · #D9534F · #FFAD60
Palette A66e38
#A66E38 · #FFAD60 · #FFEEAD · #96CEB4
Palette A02334
#A02334 · #FFAD60 · #FFEEAD · #96CEB4
Palette 03aed2
#03AED2 · #68D2E8 · #FDDE55 · #FEEFAD
Palette 7b4019
#7B4019 · #FF7D29 · #FFBF78 · #FFEEA9
Palette Feffd2
#FEFFD2 · #FFEEA9 · #FFBF78 · #FF7D29

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#FFEEAD#FEEFAD#FFEEA9#FFF2AF#FDF4AF#FFE9AE#FDF5AA#FFE9A9#FBEBA8#FFEEB3#FFEAA7#FFEBB2

Browse neighbouring colors

← #FFEFAB  ·  #FFEFAD →

Frequently asked questions

What color is #FFEFAC?

#FFEFAC is Pale Vivid Yellow, a yellow color (RGB 255, 239, 172). Its closest standard named color is Moccasin.

What is the RGB and HSL of #FFEFAC?

#FFEFAC is RGB 255, 239, 172 — HSL 48°, 100%, 84% — CMYK 0%, 6%, 33%, 0%.

What colors go with #FFEFAC?

Its complement is #ADBEFF; analogous partners are #FFC6AD and #E7FFAD. It also appears in 6+ palettes in our collection.

Can I use #FFEFAC for text?

Black text on #FFEFAC has a contrast ratio of 18.19:1 (passes WCAG AA); white text gives 1.15:1.