Palettes / Colors / #F7ECBB
#F7ECBB — Pale Vivid Yellow
#F7ECBB 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 #F7ECBB 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.
#F7ECBB 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 #BBC6F7; it also sits naturally between #F7CEBB and #E4F7BB. In the palettes below you can see it working alongside real color combinations from our collection.
Color values
| HEX | #F7ECBB |
|---|---|
| RGB | 247, 236, 187 |
| HSL | 49°, 79%, 85% |
| HSV | 49°, 24%, 97% |
| CMYK | 0%, 4%, 24%, 3% |
| XYZ | 77.32, 83.35, 59.03 |
| Yxy | 83.35, 0.3519, 0.3794 |
| CIE-Lab | 93.17, -3.80, 25.14 |
| Hunter Lab | 91.30, -3.78, 21.40 |
RGB & CMYK percentages
Red 97% · Green 93% · Blue 73%
Cyan 0% · Magenta 4% · Yellow 24% · Key 3%
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 #F7ECBB
.text { color: #F7ECBB; }
.background { background-color: #F7ECBB; }
.border { border: 3px solid #F7ECBB; }
.text-rgb { color: rgb(247, 236, 187); }
.text-hsl { color: hsl(49, 79%, 85%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #F7ECBB; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(247, 236, 187, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #F7ECBB; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(247, 236, 187, 0.8); }
HTML: <p style="color:#F7ECBB">Text here</p> · <div style="background-color:#F7ECBB">Div content here</div>
Shades of #F7ECBB
Tints of #F7ECBB
Tones of #F7ECBB
Color harmonies
Complementary — #BBC6F7:
Analogous:
Triadic:
Contrast & accessibility
| Against white text | 1.19:1 Fails |
|---|---|
| Against black text | 17.67:1 AAA |
Best text color on #F7ECBB: #000000.
Semi-transparent (opacity) text on #F7ECBB
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 #F7ECBB: ·
How #F7ECBB 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 #F7ECBB 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 #F7ECBB?
#F7ECBB is Pale Vivid Yellow, a yellow color (RGB 247, 236, 187). Its closest standard named color is Moccasin.
What is the RGB and HSL of #F7ECBB?
#F7ECBB is RGB 247, 236, 187 — HSL 49°, 79%, 85% — CMYK 0%, 4%, 24%, 3%.
What colors go with #F7ECBB?
Its complement is #BBC6F7; analogous partners are #F7CEBB and #E4F7BB. It also appears in 6+ palettes in our collection.
Can I use #F7ECBB for text?
Black text on #F7ECBB has a contrast ratio of 17.67:1 (passes WCAG AA); white text gives 1.19:1.