Maroon Colors  ·  Color Library

Palettes / Colors / #FBF050

#FBF050 — Vivid Yellow

#FBF050 is a yellow color we call Vivid Yellow, closest to the named color Khaki (#F0E68C). It belongs to the yellow family.

Color name

Closest CSS keyword: khaki (#F0E68C) — not an exact match. CSS khaki gives you #F0E68C, a different color; use #FBF050 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.

#FBF050 is a warm yellow color associated with optimism, attention and cheer. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #505BFB; it also sits naturally between #FB9A50 and #B1FB50. In the palettes below you can see it working alongside real color combinations from our collection.

#FBF050 · RGB 251, 240, 80

Download PNG swatch SVG

Color values

HEX#FBF050
RGB251, 240, 80
HSL56°, 96%, 65%
HSV56°, 68%, 98%
CMYK0%, 4%, 68%, 2%
XYZ72.39, 83.41, 19.87
Yxy83.41, 0.4121, 0.4748
CIE-Lab93.19, -14.04, 74.81
Hunter Lab91.33, -13.67, 47.83

RGB & CMYK percentages

Red 98% · Green 94% · Blue 31%

Cyan 0% · Magenta 4% · Yellow 68% · Key 2%

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

Previews

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

CSS code for #FBF050

.text { color: #FBF050; }
.background { background-color: #FBF050; }
.border { border: 3px solid #FBF050; }
.text-rgb { color: rgb(251, 240, 80); }
.text-hsl { color: hsl(56, 96%, 65%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #FBF050; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(251, 240, 80, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #FBF050; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(251, 240, 80, 0.8); }

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

Shades of #FBF050

#FBED32#FAEB14#EBDC05#CDC004#AFA404#8C8303#6E6702#504B02#322F01#141300

Tints of #FBF050

#FCF15F#FCF36E#FCF47D#FDF58C#FDF7A0#FDF8AF#FEF9BE#FEFBCD#FEFCDC#FFFDEB

Tones of #FBF050

#EFE55D#E3DB68#D7D075#CAC581#BEBB8E#B2B199

Color harmonies

Complementary — #505BFB:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.19:1 Fails
Against black text17.68:1 AAA

Best text color on #FBF050: #000000.

Semi-transparent (opacity) text on #FBF050

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

How #FBF050 looks with color blindness

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

Protanopia · #F6F677Deuteranopia · #F7F880Tritanopia · #FA959C

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:

Material Yellow 500 · #FFEB3BMaterial Lime 500 · #CDDC39Material Amber 500 · #FFC107

Palettes with a similar color

These palettes use a close neighbour of #FBF050 rather than the exact color:

Radiant Orchard
#25102E · #FBEF50 · #31FA6D · #4FFC8D
Palette 007f73
#007F73 · #4CCD99 · #FFC700 · #FFF455
Palette 219c90
#219C90 · #FFF455 · #FFC700 · #EE4E4E
Palette 640d5f
#640D5F · #D91656 · #EE66A6 · #FFEB55
Palette Ffea54
#FFEA54 · #FFCB3C · #FEAA2B · #FF5757
Palette Fed24f
#FED24F · #FFF449 · #B2D959 · #7EC151

Similar colors

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

#FBEF50#FFF455#FFEB55#FFEA54#FFF449#FEE856#F4F754#FFFA4D#FAEF5D#FAE251#F8E559#FAE254

Browse neighbouring colors

← #FBF04F  ·  #FBF051 →

Frequently asked questions

What color is #FBF050?

#FBF050 is Vivid Yellow, a yellow color (RGB 251, 240, 80). Its closest standard named color is Khaki.

What is the RGB and HSL of #FBF050?

#FBF050 is RGB 251, 240, 80 — HSL 56°, 96%, 65% — CMYK 0%, 4%, 68%, 2%.

What colors go with #FBF050?

Its complement is #505BFB; analogous partners are #FB9A50 and #B1FB50. It also appears in 6+ palettes in our collection.

Can I use #FBF050 for text?

Black text on #FBF050 has a contrast ratio of 17.68:1 (passes WCAG AA); white text gives 1.19:1.