Maroon Colors  ·  Color Library

Palettes / Colors / #FFECB2

#FFECB2 — Pale Vivid Yellow

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

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

#FFECB2 · RGB 255, 236, 178

Download PNG swatch SVG

Color values

HEX#FFECB2
RGB255, 236, 178
HSL45°, 100%, 85%
HSV45°, 30%, 100%
CMYK0%, 7%, 30%, 0%
XYZ79.27, 84.47, 54.24
Yxy84.47, 0.3637, 0.3875
CIE-Lab93.65, -1.99, 30.51
Hunter Lab91.90, -1.99, 25.27

RGB & CMYK percentages

Red 100% · Green 93% · Blue 70%

Cyan 0% · Magenta 7% · Yellow 30% · Key 0%

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

Previews

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

CSS code for #FFECB2

.text { color: #FFECB2; }
.background { background-color: #FFECB2; }
.border { border: 3px solid #FFECB2; }
.text-rgb { color: rgb(255, 236, 178); }
.text-hsl { color: hsl(45, 100%, 85%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #FFECB2; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(255, 236, 178, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #FFECB2; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(255, 236, 178, 0.8); }

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

Shades of #FFECB2

#FFE28A#FFD761#FFCD38#FFC30F#E6AC00#B88A00#8F6B00#664D00#3D2E00#140F00

Tints of #FFECB2

#FFEDB8#FFEEBD#FFF0C2#FFF1C7#FFF4D1#FFF5D6#FFF6DB#FFF7E0#FFF9E5#FFFAEB

Tones of #FFECB2

#FAE9B8#F4E6BE#EFE4C3#E9E1C8#E4DECE#DEDBD3

Color harmonies

Complementary — #B3C6FF:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.17:1 Fails
Against black text17.89:1 AAA

Best text color on #FFECB2: #000000.

Semi-transparent (opacity) text on #FFECB2

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

How #FFECB2 looks with color blindness

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

Protanopia · #F7F7C0Deuteranopia · #F8F9C3Tritanopia · #FECBCE

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

Palette Ffebb2
#FFEBB2 · #E59BE9 · #D862BC · #8644A2
Palette Ffebb2
#FFEBB2 · #E9A89B · #D875C7 · #912BBC
Palette Bf2ef0
#BF2EF0 · #ED3EF7 · #FEECB3 · #FFF6EA
Palette Ffacac
#FFACAC · #FFBFA9 · #FFEBB4 · #FBFFB1
Palette 9e6f21
#9E6F21 · #FFEEB3 · #B8E7E1 · #D4FAFC
Palette 8e1d41
#8E1D41 · #DBBF0D · #FFCD19 · #FFEFB4

Similar colors

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

#FFEBB2#FEECB3#FFEBB4#FFEEB3#FFEFB4#FBECB2#FFE8B4#FFE9AE#FFEBB7#FFEEAD#FAEAB1#FDE7B3

Browse neighbouring colors

← #FFECB1  ·  #FFECB3 →

Frequently asked questions

What color is #FFECB2?

#FFECB2 is Pale Vivid Yellow, a yellow color (RGB 255, 236, 178). Its closest standard named color is Moccasin.

What is the RGB and HSL of #FFECB2?

#FFECB2 is RGB 255, 236, 178 — HSL 45°, 100%, 85% — CMYK 0%, 7%, 30%, 0%.

What colors go with #FFECB2?

Its complement is #B3C6FF; analogous partners are #FFC6B3 and #ECFFB3. It also appears in 6+ palettes in our collection.

Can I use #FFECB2 for text?

Black text on #FFECB2 has a contrast ratio of 17.89:1 (passes WCAG AA); white text gives 1.17:1.