Maroon Colors  ·  Color Library

Palettes / Colors / #FFFFAC

#FFFFAC — Pale Vivid Yellow

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

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

#FFFFAC · RGB 255, 255, 172

Download PNG swatch SVG

Color values

HEX#FFFFAC
RGB255, 255, 172
HSL60°, 100%, 84%
HSV60°, 33%, 100%
CMYK0%, 0%, 33%, 0%
XYZ84.45, 95.76, 53.06
Yxy95.76, 0.3620, 0.4105
CIE-Lab98.34, -12.15, 39.74
Hunter Lab97.86, -12.17, 32.22

RGB & CMYK percentages

Red 100% · Green 100% · Blue 67%

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

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

Previews

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

CSS code for #FFFFAC

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

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

Shades of #FFFFAC

#FFFF85#FFFF5C#FFFF33#FFFF0A#E0E000#B8B800#8F8F00#666600#3D3D00#141400

Tints of #FFFFAC

#FFFFB3#FFFFB8#FFFFC2#FFFFC7#FFFFCC#FFFFD1#FFFFD6#FFFFE0#FFFFE5#FFFFEB

Tones of #FFFFAC

#F9F9B3#F3F3B9#EDEDBF#E8E8C5#E2E2CA#DCDCD0

Color harmonies

Complementary — #ADADFF:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.04:1 Fails
Against black text20.15:1 AAA

Best text color on #FFFFAC: #000000.

Semi-transparent (opacity) text on #FFFFAC

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

How #FFFFAC looks with color blindness

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

Protanopia · #FFFFC0Deuteranopia · #FFFFC5Tritanopia · #FFD0D3

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

Palette 45ffca
#45FFCA · #FEFFAC · #FFB6D9 · #D67BFF
Palette A8e6cf
#A8E6CF · #FDFFAB · #FFD3B6 · #FFAAA5
Palette D9edbf
#D9EDBF · #FFB996 · #FFCF81 · #FDFFAB
Palette D7e9b9
#D7E9B9 · #FFFBAC · #FFD495 · #FAAB78
Palette 00ff9c
#00FF9C · #B6FFA1 · #FEFFA7 · #FFE700
Palette Faffaf
#FAFFAF · #96C9F4 · #3FA2F6 · #0F67B1

Similar colors

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

#FEFFAC#FDFFAB#FFFBAC#FEFFA7#FAFFAF#FFFBA7#FFFBB1#FBFFB1#FFF9AF#FCFFA6#FCFFB2#FFF9B0

Browse neighbouring colors

← #FFFFAB  ·  #FFFFAD →

Frequently asked questions

What color is #FFFFAC?

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

What is the RGB and HSL of #FFFFAC?

#FFFFAC is RGB 255, 255, 172 — HSL 60°, 100%, 84% — CMYK 0%, 0%, 33%, 0%.

What colors go with #FFFFAC?

Its complement is #ADADFF; analogous partners are #FFD6AD and #D6FFAD. It also appears in 6+ palettes in our collection.

Can I use #FFFFAC for text?

Black text on #FFFFAC has a contrast ratio of 20.15:1 (passes WCAG AA); white text gives 1.04:1.