Maroon Colors  ·  Color Library

Palettes / Colors / #FBFB2A

#FBFB2A — Vivid Yellow

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

Color name

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

#FBFB2A 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 #2828FB; it also sits naturally between #FB9128 and #91FB28. In the palettes below you can see it working alongside real color combinations from our collection.

#FBFB2A · RGB 251, 251, 42

Download PNG swatch SVG

Color values

HEX#FBFB2A
RGB251, 251, 42
HSL60°, 96%, 57%
HSV60°, 83%, 98%
CMYK0%, 0%, 83%, 2%
XYZ74.70, 89.67, 15.56
Yxy89.67, 0.4152, 0.4984
CIE-Lab95.86, -20.74, 88.30
Hunter Lab94.69, -20.17, 53.36

RGB & CMYK percentages

Red 98% · Green 98% · Blue 16%

Cyan 0% · Magenta 0% · Yellow 83% · Key 2%

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

Previews

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

CSS code for #FBFB2A

.text { color: #FBFB2A; }
.background { background-color: #FBFB2A; }
.border { border: 3px solid #FBFB2A; }
.text-rgb { color: rgb(251, 251, 42); }
.text-hsl { color: hsl(60, 96%, 57%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #FBFB2A; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(251, 251, 42, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #FBFB2A; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(251, 251, 42, 0.8); }

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

Shades of #FBFB2A

#FAFA0F#E6E605#CDCD04#B4B404#9B9B03#7D7D03#646402#4B4B02#2D2D01#141400

Tints of #FBFB2A

#FBFB3C#FBFB50#FCFC64#FCFC78#FDFD8C#FDFD9B#FDFDAF#FEFEC3#FEFED7#FFFFEB

Tones of #FBFB2A

#EBEB37#DDDD46#CECE55#BEBE64#AFAF74#A1A182

Color harmonies

Complementary — #2828FB:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.11:1 Fails
Against black text18.93:1 AAA

Best text color on #FBFB2A: #000000.

Semi-transparent (opacity) text on #FBFB2A

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

How #FBFB2A looks with color blindness

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

Protanopia · #FBFB5DDeuteranopia · #FBFB69Tritanopia · #FB848D

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

Rustic Ruby Marble
#1F071E · #F5F828 · #4E6FFC · #FB3D21
Palette Ff1f5a
#FF1F5A · #FFD615 · #F9FF21 · #1E2A78
Electric Ruby Drift
#0E0619 · #F7F128 · #23FD79 · #58FB26
Gentle Whisper
#110A1C · #FEFA38 · #57B8F9 · #FFC350
Cosmic Ruby Ember
#190D24 · #F8348E · #0DFE29 · #ECFD33
Mellow Ruby Zephyr
#180818 · #2BF7F4 · #FBF23B · #59F826

Similar colors

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

#F5F828#F9FF21#F7F128#FEFA38#ECFD33#FBF23B#F7FE3D#FEEC37#FAFD3E#F2F73C#FFF83F#EDEA27

Browse neighbouring colors

← #FBFB29  ·  #FBFB2B →

Frequently asked questions

What color is #FBFB2A?

#FBFB2A is Vivid Yellow, a yellow color (RGB 251, 251, 42). Its closest standard named color is Yellow.

What is the RGB and HSL of #FBFB2A?

#FBFB2A is RGB 251, 251, 42 — HSL 60°, 96%, 57% — CMYK 0%, 0%, 83%, 2%.

What colors go with #FBFB2A?

Its complement is #2828FB; analogous partners are #FB9128 and #91FB28. It also appears in 6+ palettes in our collection.

Can I use #FBFB2A for text?

Black text on #FBFB2A has a contrast ratio of 18.93:1 (passes WCAG AA); white text gives 1.11:1.