Maroon Colors  ·  Color Library

Palettes / Colors / #FDF2AB

#FDF2AB — Pale Vivid Yellow

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

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

#FDF2AB · RGB 253, 242, 171

Download PNG swatch SVG

Color values

HEX#FDF2AB
RGB253, 242, 171
HSL52°, 95%, 83%
HSV52°, 32%, 99%
CMYK0%, 4%, 32%, 1%
XYZ79.61, 87.33, 51.19
Yxy87.33, 0.3650, 0.4004
CIE-Lab94.88, -6.60, 35.65
Hunter Lab93.45, -6.58, 28.92

RGB & CMYK percentages

Red 99% · Green 95% · Blue 67%

Cyan 0% · Magenta 4% · Yellow 32% · Key 1%

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

Previews

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

CSS code for #FDF2AB

.text { color: #FDF2AB; }
.background { background-color: #FDF2AB; }
.border { border: 3px solid #FDF2AB; }
.text-rgb { color: rgb(253, 242, 171); }
.text-hsl { color: hsl(52, 95%, 83%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #FDF2AB; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(253, 242, 171, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #FDF2AB; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(253, 242, 171, 0.8); }

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

Shades of #FDF2AB

#FCEC83#FBE55B#FADF33#F9D90B#DBBE06#B39C05#8B7904#635703#3C3402#141101

Tints of #FDF2AB

#FDF3AF#FDF4B9#FDF5BE#FDF6C3#FEF7CD#FEF8D2#FEF9D7#FEFADC#FEFBE6#FEFCEB

Tones of #FDF2AB

#F7EDB1#F1E9B6#EBE5BC#E5E1C2#DFDCC8#DAD8CE

Color harmonies

Complementary — #AAB5FD:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.14:1 Fails
Against black text18.47:1 AAA

Best text color on #FDF2AB: #000000.

Semi-transparent (opacity) text on #FDF2AB

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

How #FDF2AB 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 · #FCCACD

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

Palette 113f67
#113F67 · #34699A · #58A0C8 · #FDF5AA
Palette 03aed2
#03AED2 · #68D2E8 · #FDDE55 · #FEEFAD
Palette Fdf4af
#FDF4AF · #A5E9DD · #6FBEB2 · #34908B
Palette 493d9e
#493D9E · #B2A5FF · #DAD2FF · #FFF2AF
Ruby Orchard
#DE7272 · #FFCA88 · #FFF6A9 · #B4E4D6
Palette 7b4019
#7B4019 · #FF7D29 · #FFBF78 · #FFEEA9

Similar colors

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

#FDF5AA#FEEFAD#FDF4AF#FFF2AF#FFF6A9#FFEEA9#FFEEAD#FBF5A7#FFF4A4#FBF0B2#FBEBA8#F7EDA9

Browse neighbouring colors

← #FDF2AA  ·  #FDF2AC →

Frequently asked questions

What color is #FDF2AB?

#FDF2AB is Pale Vivid Yellow, a yellow color (RGB 253, 242, 171). Its closest standard named color is Moccasin.

What is the RGB and HSL of #FDF2AB?

#FDF2AB is RGB 253, 242, 171 — HSL 52°, 95%, 83% — CMYK 0%, 4%, 32%, 1%.

What colors go with #FDF2AB?

Its complement is #AAB5FD; analogous partners are #FDC9AA and #DFFDAA. It also appears in 6+ palettes in our collection.

Can I use #FDF2AB for text?

Black text on #FDF2AB has a contrast ratio of 18.47:1 (passes WCAG AA); white text gives 1.14:1.