Maroon Colors  ·  Color Library

Palettes / Colors / #FBC228

#FBC228 — Vivid Yellow

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

Color name

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

#FBC228 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 #2860FB; it also sits naturally between #FB5928 and #C9FB28. In the palettes below you can see it working alongside real color combinations from our collection.

#FBC228 · RGB 251, 194, 40

Download PNG swatch SVG

Color values

HEX#FBC228
RGB251, 194, 40
HSL44°, 96%, 57%
HSV44°, 84%, 98%
CMYK0%, 23%, 84%, 2%
XYZ59.46, 59.25, 10.31
Yxy59.25, 0.4609, 0.4592
CIE-Lab81.43, 7.68, 76.82
Hunter Lab76.97, 7.41, 43.35

RGB & CMYK percentages

Red 98% · Green 76% · Blue 16%

Cyan 0% · Magenta 23% · Yellow 84% · Key 2%

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

Previews

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

CSS code for #FBC228

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

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

Shades of #FBC228

#FABB0F#E6AA05#CD9704#B48504#9B7203#7D5C03#644A02#4B3702#2D2101#140F00

Tints of #FBC228

#FBC83C#FBCE50#FCD364#FCD978#FDDF8C#FDE39B#FDE8AF#FEEEC3#FEF4D7#FFF9EB

Tones of #FBC228

#EBBB37#DDB546#CEAD55#BEA664#AF9F74#A19982

Color harmonies

Complementary — #2860FB:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.63:1 Fails
Against black text12.85:1 AAA

Best text color on #FBC228: #000000.

Semi-transparent (opacity) text on #FBC228

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

How #FBC228 looks with color blindness

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

Protanopia · #E2E24DDeuteranopia · #E6EA56Tritanopia · #F86B71

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 Amber 500 · #FFC107Bootstrap warning · #FFC107Tailwind yellow 500 · #EAB308

Palettes with a similar color

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

Golden Ruby Tempest
#260C2F · #F86C25 · #76FE41 · #F9C224
Modern Ruby Twilight
#091621 · #FBC42D · #F84C64 · #F99A3F
Palette F5f5dc
#F5F5DC · #FBC02D · #FF8F00 · #C62828
Amber Bloom
#B6660D · #F8C11F · #E9CD5C · #F4EBAB
Palette F4f6ff
#F4F6FF · #F3C623 · #EB8317 · #10375C
Palette 006e7f
#006E7F · #F8CB2E · #EE5007 · #B22727

Similar colors

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

#F9C224#FBC42D#FBC02D#F8C11F#F3C623#F8CB2E#FCCD2A#FCC61D#FFB823#FFC81E#F9CA1E#FFB830

Browse neighbouring colors

← #FBC227  ·  #FBC229 →

Frequently asked questions

What color is #FBC228?

#FBC228 is Vivid Yellow, a yellow color (RGB 251, 194, 40). Its closest standard named color is GoldenRod.

What is the RGB and HSL of #FBC228?

#FBC228 is RGB 251, 194, 40 — HSL 44°, 96%, 57% — CMYK 0%, 23%, 84%, 2%.

What colors go with #FBC228?

Its complement is #2860FB; analogous partners are #FB5928 and #C9FB28. It also appears in 6+ palettes in our collection.

Can I use #FBC228 for text?

Black text on #FBC228 has a contrast ratio of 12.85:1 (passes WCAG AA); white text gives 1.63:1.