Palettes / Colors / #FFFEB2
#FFFEB2 — Pale Vivid Yellow
#FFFEB2 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 #FFFEB2 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.
#FFFEB2 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 #B3B4FF; it also sits naturally between #FFD7B3 and #DAFFB3. In the palettes below you can see it working alongside real color combinations from our collection.
Color values
| HEX | #FFFEB2 |
|---|---|
| RGB | 255, 254, 178 |
| HSL | 59°, 100%, 85% |
| HSV | 59°, 30%, 100% |
| CMYK | 0%, 0%, 30%, 0% |
| XYZ | 84.72, 95.36, 56.06 |
| Yxy | 95.36, 0.3588, 0.4038 |
| CIE-Lab | 98.18, -10.95, 36.56 |
| Hunter Lab | 97.65, -10.99, 30.12 |
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 #FFFEB2
.text { color: #FFFEB2; }
.background { background-color: #FFFEB2; }
.border { border: 3px solid #FFFEB2; }
.text-rgb { color: rgb(255, 254, 178); }
.text-hsl { color: hsl(59, 100%, 85%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #FFFEB2; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(255, 254, 178, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #FFFEB2; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(255, 254, 178, 0.8); }
HTML: <p style="color:#FFFEB2">Text here</p> · <div style="background-color:#FFFEB2">Div content here</div>
Shades of #FFFEB2
Tints of #FFFEB2
Tones of #FFFEB2
Color harmonies
Complementary — #B3B4FF:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 1.05:1 Fails |
|---|---|
| Against black text | 20.07:1 AAA |
Best text color on #FFFEB2: #000000.
Semi-transparent (opacity) text on #FFFEB2
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:
Smaller body text shows the effect best.
Blended color: · Contrast against #FFFEB2: ·
How #FFFEB2 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 #FFFEB2 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 #FFFEB2?
#FFFEB2 is Pale Vivid Yellow, a yellow color (RGB 255, 254, 178). Its closest standard named color is Moccasin.
What is the RGB and HSL of #FFFEB2?
#FFFEB2 is RGB 255, 254, 178 — HSL 59°, 100%, 85% — CMYK 0%, 0%, 30%, 0%.
What colors go with #FFFEB2?
Its complement is #B3B4FF; analogous partners are #FFD7B3 and #DAFFB3. It also appears in 6+ palettes in our collection.
Can I use #FFFEB2 for text?
Black text on #FFFEB2 has a contrast ratio of 20.07:1 (passes WCAG AA); white text gives 1.05:1.