Maroon Colors  ·  Color Library

Palettes / Colors / #FDF2AF

#FDF2AF — Pale Vivid Yellow

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

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

#FDF2AF · RGB 253, 242, 175

Download PNG swatch SVG

Color values

HEX#FDF2AF
RGB253, 242, 175
HSL52°, 95%, 84%
HSV52°, 31%, 99%
CMYK0%, 4%, 31%, 1%
XYZ80.00, 87.48, 53.23
Yxy87.48, 0.3625, 0.3964
CIE-Lab94.94, -6.12, 33.73
Hunter Lab93.53, -6.11, 27.66

RGB & CMYK percentages

Red 99% · Green 95% · Blue 69%

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

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

Previews

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

CSS code for #FDF2AF

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

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

Shades of #FDF2AF

#FCEC88#FBE660#FAE038#F9DA10#DBBE06#B39C05#8B7904#635703#3C3402#141101

Tints of #FDF2AF

#FDF3B4#FDF4B9#FDF6C3#FEF6C8#FEF7CD#FEF8D2#FEF9D7#FEFAE1#FEFBE6#FEFCEB

Tones of #FDF2AF

#F7EEB5#F2EBBA#ECE6C0#E7E2C5#E1DECB#DCDAD0

Color harmonies

Complementary — #AFBAFD:

Analogous:

Triadic:

Contrast & accessibility

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

Best text color on #FDF2AF: #000000.

Semi-transparent (opacity) text on #FDF2AF

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

How #FDF2AF looks with color blindness

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

Protanopia · #F8F8BFDeuteranopia · #F9FAC3Tritanopia · #FCCCCF

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 Grey 500 · #9E9E9E

Palettes with a similar color

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

Palette Fdf4af
#FDF4AF · #A5E9DD · #6FBEB2 · #34908B
Palette 493d9e
#493D9E · #B2A5FF · #DAD2FF · #FFF2AF
Palette 03aed2
#03AED2 · #68D2E8 · #FDDE55 · #FEEFAD
Palette Fbf0b2
#FBF0B2 · #FFC7EA · #D8B4F8 · #CAEDFF
Palette 96ceb4
#96CEB4 · #FFEEAD · #D9534F · #FFAD60
Palette A66e38
#A66E38 · #FFAD60 · #FFEEAD · #96CEB4

Similar colors

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

#FDF4AF#FFF2AF#FEEFAD#FBF0B2#FFEEAD#FFF2B4#FDF5AA#FFEEB3#FFF6B3#FFEFB4#FFF8B0#FFF4B5

Browse neighbouring colors

← #FDF2AE  ·  #FDF2B0 →

Frequently asked questions

What color is #FDF2AF?

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

What is the RGB and HSL of #FDF2AF?

#FDF2AF is RGB 253, 242, 175 — HSL 52°, 95%, 84% — CMYK 0%, 4%, 31%, 1%.

What colors go with #FDF2AF?

Its complement is #AFBAFD; analogous partners are #FDCCAF and #E1FDAF. It also appears in 6+ palettes in our collection.

Can I use #FDF2AF for text?

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