Maroon Colors  ·  Color Library

Palettes / Colors / #FBF170

#FBF170 — Light Vivid Yellow

#FBF170 is a yellow color we call Light 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 #FBF170 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.

#FBF170 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 #6F78FB; it also sits naturally between #FBAC6F and #BEFB6F. In the palettes below you can see it working alongside real color combinations from our collection.

#FBF170 · RGB 251, 241, 112

Download PNG swatch SVG

Color values

HEX#FBF170
RGB251, 241, 112
HSL56°, 95%, 71%
HSV56°, 55%, 98%
CMYK0%, 4%, 55%, 2%
XYZ74.16, 84.59, 27.75
Yxy84.59, 0.3977, 0.4536
CIE-Lab93.71, -12.56, 62.35
Hunter Lab91.97, -12.30, 43.08

RGB & CMYK percentages

Red 98% · Green 95% · Blue 44%

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

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

Previews

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

CSS code for #FBF170

.text { color: #FBF170; }
.background { background-color: #FBF170; }
.border { border: 3px solid #FBF170; }
.text-rgb { color: rgb(251, 241, 112); }
.text-hsl { color: hsl(56, 95%, 71%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #FBF170; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(251, 241, 112, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #FBF170; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(251, 241, 112, 0.8); }

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

Shades of #FBF170

#FAEF4C#FAEC2E#F9E90B#DBCD06#BDB105#9A9004#777003#554F02#373301#141301

Tints of #FBF170

#FCF37E#FCF488#FCF697#FDF6A1#FDF8AF#FDF9B9#FEFAC8#FEFBD2#FEFCE1#FEFDEB

Tones of #FBF170

#F1E979#E7E183#DDD88D#D3CF97#C9C6A1#BFBEAB

Color harmonies

Complementary — #6F78FB:

Analogous:

Triadic:

Contrast & accessibility

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

Best text color on #FBF170: #000000.

Semi-transparent (opacity) text on #FBF170

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

How #FBF170 looks with color blindness

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

Protanopia · #F7F78FDeuteranopia · #F7F897Tritanopia · #FBA8AD

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

Palette Fbf46d
#FBF46D · #B4FE98 · #77E4D4 · #998CEB
Palette Fa5c5c
#FA5C5C · #FD8A6B · #FEC288 · #FBEF76
Palette Ff8383
#FF8383 · #FFF574 · #A1D6CB · #A19AD3
Palette Ffea6c
#FFEA6C · #FFFBA7 · #FFA6FB · #FF61F8
Palette 000000
#000000 · #FF4191 · #E90074 · #FFF078
Palette 61b15a
#61B15A · #ADCE74 · #FFF76A · #FFCE89

Similar colors

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

#FBF46D#FBEF76#FFF574#FFEA6C#FFF078#FFF76A#F2ED6F#F4EB6C#F9F07A#F6FA70#F3F169#F6E96B

Browse neighbouring colors

← #FBF16F  ·  #FBF171 →

Frequently asked questions

What color is #FBF170?

#FBF170 is Light Vivid Yellow, a yellow color (RGB 251, 241, 112). Its closest standard named color is Khaki.

What is the RGB and HSL of #FBF170?

#FBF170 is RGB 251, 241, 112 — HSL 56°, 95%, 71% — CMYK 0%, 4%, 55%, 2%.

What colors go with #FBF170?

Its complement is #6F78FB; analogous partners are #FBAC6F and #BEFB6F. It also appears in 6+ palettes in our collection.

Can I use #FBF170 for text?

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