Palettes / Colors / #FFFFB2
#FFFFB2 — Pale Vivid Yellow
#FFFFB2 is a yellow color we call Pale Vivid Yellow, closest to the named color Moccasin (#FFE4B5). It belongs to the yellow family.
#FFFFB2 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 #B3B3FF; it also sits naturally between #FFD9B3 and #D9FFB3. In the palettes below you can see it working alongside real color combinations from our collection.
Color values
| HEX | #FFFFB2 |
|---|---|
| RGB | 255, 255, 178 |
| HSL | 60°, 100%, 85% |
| HSV | 60°, 30%, 100% |
| CMYK | 0%, 0%, 30%, 0% |
| XYZ | 85.04, 95.99, 56.17 |
| Yxy | 95.99, 0.3585, 0.4047 |
| CIE-Lab | 98.43, -11.44, 36.89 |
| Hunter Lab | 97.98, -11.48, 30.39 |
RGB & CMYK percentages
Red 100% · Green 100% · Blue 70%
Cyan 0% · Magenta 0% · Yellow 30% · Key 0%
CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.
Previews
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
CSS code for #FFFFB2
.text { color: #FFFFB2; }
.background { background-color: #FFFFB2; }
.border { border: 3px solid #FFFFB2; }
.text-rgb { color: rgb(255, 255, 178); }
.text-hsl { color: hsl(60, 100%, 85%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #FFFFB2; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(255, 255, 178, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #FFFFB2; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(255, 255, 178, 0.8); }
HTML: <p style="color:#FFFFB2">Text here</p> · <div style="background-color:#FFFFB2">Div content here</div>
Shades of #FFFFB2
Tints of #FFFFB2
Tones of #FFFFB2
Color harmonies
Complementary — #B3B3FF:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 1.04:1 Fails |
|---|---|
| Against black text | 20.20:1 AAA |
Best text color on #FFFFB2: #000000.
How #FFFFB2 looks with color blindness
Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:
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:
Palettes with a similar color
These palettes use a close neighbour of #FFFFB2 rather than the exact color:
Similar colors
The closest colors that actually appear in our palette collection — click any to open its page:
Browse neighbouring colors
Frequently asked questions
What color is #FFFFB2?
#FFFFB2 is Pale Vivid Yellow, a yellow color (RGB 255, 255, 178). Its closest standard named color is Moccasin.
What is the RGB and HSL of #FFFFB2?
#FFFFB2 is RGB 255, 255, 178 — HSL 60°, 100%, 85% — CMYK 0%, 0%, 30%, 0%.
What colors go with #FFFFB2?
Its complement is #B3B3FF; analogous partners are #FFD9B3 and #D9FFB3. It also appears in 6+ palettes in our collection.
Can I use #FFFFB2 for text?
Black text on #FFFFB2 has a contrast ratio of 20.20:1 (passes WCAG AA); white text gives 1.04:1.