Maroon Colors  ·  Color Library

Palettes / Colors / #FFEFAB

#FFEFAB — Pale Vivid Yellow

#FFEFAB 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 #FFEFAB 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.

#FFEFAB 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 #ADBCFF; it also sits naturally between #FFC7AD and #E5FFAD. In the palettes below you can see it working alongside real color combinations from our collection.

#FFEFAB · RGB 255, 239, 171

Download PNG swatch SVG

Color values

HEX#FFEFAB
RGB255, 239, 171
HSL49°, 100%, 84%
HSV49°, 33%, 100%
CMYK0%, 6%, 33%, 0%
XYZ79.46, 85.93, 50.93
Yxy85.93, 0.3673, 0.3973
CIE-Lab94.28, -4.35, 34.90
Hunter Lab92.70, -4.34, 28.32

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 #FFEFAB on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #FFEFAB on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #FFEFAB

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

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

Shades of #FFEFAB

#FFE985#FFE15C#FFDA33#FFD20A#E0B700#B89600#8F7500#665300#3D3200#141100

Tints of #FFEFAB

#FFF1B3#FFF2B8#FFF4C2#FFF5C7#FFF6CC#FFF7D1#FFF8D6#FFF9E0#FFFAE5#FFFBEB

Tones of #FFEFAB

#F9ECB3#F3E9B9#EDE5BF#E8E1C5#E2DECA#DCDAD0

Color harmonies

Complementary — #ADBCFF:

Analogous:

Triadic:

Contrast & accessibility

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

Best text color on #FFEFAB: #000000.

Semi-transparent (opacity) text on #FFEFAB

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 #FFEFAB: ·

How #FFEFAB looks with color blindness

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

Protanopia · #F8F8BBDeuteranopia · #F9FABFTritanopia · #FEC8CB

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 #FFEFAB rather than the exact color:

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

Similar colors

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

#FFEEA9#FFEEAD#FEEFAD#FFF2AF#FFE9A9#FBEBA8#FDF5AA#FFEAA7#FDF4AF#FFE9AE#FFF6A9#F8EBAB

Browse neighbouring colors

← #FFEFAA  ·  #FFEFAC →

Frequently asked questions

What color is #FFEFAB?

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

What is the RGB and HSL of #FFEFAB?

#FFEFAB is RGB 255, 239, 171 — HSL 49°, 100%, 84% — CMYK 0%, 6%, 33%, 0%.

What colors go with #FFEFAB?

Its complement is #ADBCFF; analogous partners are #FFC7AD and #E5FFAD. It also appears in 6+ palettes in our collection.

Can I use #FFEFAB for text?

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