Skip to content

#fbc45f

a light, electric orange · warm · closest name: Goldenrod

RGB
251, 196, 95
HSL
39°, 95%, 68%
CMYK
0, 22, 62, 2
Luminance
0.6082

At a glance

Every number on this page in one read: what #fbc45f is made of, how bright it looks, and which way it leans.

Hex
#fbc45f
Hue
39°
orange
Saturation
95%
electric
Lightness
68%
light
Brightness
98%
HSV value
Perceived
81%
weighted brightness
Luminance
0.6082
WCAG relative
Temperature
Warm
7/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
13.16:1
Closest name
Goldenrod
ΔE2000 8.9
Where it sits
Hue39° of 360°
Saturation95%
Lightness68%
Temperature
Warm ← → Cool7% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#fbc45f
RGBrgb(251, 196, 95)
HSLhsl(39, 95%, 68%)
CMYKcmyk(0%, 22%, 62%, 2%)
LABlab(82.3 9.1 57.1)
LCHlch(82.3 57.8 81.0)
OKLCHoklch(0.851 0.133 80.5)
Decimal16499807
Display P3color(display-p3 0.984 0.769 0.373)

Copy-ready code

/* CSS */
color: #fbc45f;
background-color: #fbc45f;
/* Tailwind (arbitrary) */
class="text-[#fbc45f] bg-[#fbc45f]"
/* SCSS */
$brand: #fbc45f;
/* SwiftUI */
Color(red: 0.984, green: 0.769, blue: 0.373)
/* Android */
Color.parseColor("#fbc45f")
/* Flutter */
Color(0xFFFBC45F)
/* Python / OpenCV (BGR) */
(95, 196, 251)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #fbc45f · 13.16:1
Use #000000AAA at every size.
Aa
White text · 1.60:1
AA fail · AA large fail · AAA fail
Aa
Black text · 13.16:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #fbc45f as text scores 1.60:1 on white and 13.16:1 on black.

Accessibility — WCAG contrast

Aa
#fbc45f on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#fbc45f on black: 13.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DAC555
deuteranopia · #E8D262
tritanopia · #FFB4AE

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #fbc45f is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FDF9F1
#FBF3E4
#FAE6C2
#FCD792
#fbc45f
#FAAE24
#EF9D06
#C78205
#9F6804
#734D08
#483005
Base = 400Lightest = 50 · #FDF9F1Darkest = 950 · #483005
:root {
  --brand-50: #FDF9F1;
  --brand-100: #FBF3E4;
  --brand-200: #FAE6C2;
  --brand-300: #FCD792;
  --brand-400: #fbc45f;
  --brand-500: #FAAE24;
  --brand-600: #EF9D06;
  --brand-700: #C78205;
  --brand-800: #9F6804;
  --brand-900: #734D08;
  --brand-950: #483005;
  --brand: #fbc45f;
  --brand-ink: #000000;
}

Colors that work with #fbc45f

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAF8F4
Tinted page background
Border#EDDDC0
Hairlines and dividers
Muted text#9B7F4B
Captions on the surface
Accent#017BCB
Second voice, not a rival
Dark variant#7C5203
Hover, pressed, headers
Light variant#FEF6E6
Selected rows, tints
Dark surface#241F14
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #fbc45f

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#5F96FB
Analogous left#FB765F
Analogous right#E4FB5F
Split-complement 1#5FE4FB
Split-complement 2#765FFB
Triadic 1#5FFBC4
Triadic 2#C45FFB
Tetradic#5FFB76

RGB percentages

Red98.4%
Green76.9%
Blue37.3%

CMYK percentages

Cyan0.0%
Magenta21.9%
Yellow62.2%
Key (black)1.6%

Color previews

#fbc45f text on a black background

contrast 13.16:1

Card sample

#fbc45f text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #fbc45f;
Background color
Panel with #fbc45f background
background-color: #fbc45f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #fbc45f;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(251, 196, 95, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(251, 196, 95, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fbc45f;
background: linear-gradient(135deg, #fbc45f, #CAFB5F);

Monochromatic scale

Palettes built from #fbc45f

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#fbc45f in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
E-commerceFood deliveryLogisticsCreator tools
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#fbc45f, answered

What color is #fbc45f?

#fbc45f is a light electric orange, closest to Goldenrod (ΔE2000 8.9). It sits at 39° on the hue wheel with 95% saturation and 68% lightness, which reads as warm.

What is the RGB value of #fbc45f?

rgb(251, 196, 95) — 251 red, 196 green and 95 blue out of 255, or 98.4% / 76.9% / 37.3% by channel.

Is #fbc45f a light or a dark color?

It is a light color. Relative luminance is 0.6082 and perceived brightness is 81%, so black text on it reaches 13.16:1.

Should I use black or white text on #fbc45f?

Black. It scores 13.16:1 against #fbc45f, versus 1.60:1 for white — AAA at any size.

What is the complementary color of #fbc45f?

#5F96FB sits directly opposite on the wheel. Softer options are the split-complements #5FE4FB and #765FFB, which give the same contrast with far less vibration.

What colors go well with #fbc45f?

For interface work: #FAF8F4 as the surface, #EDDDC0 for borders, #9B7F4B for secondary text, #017BCB as an accent and #7C5203 for hover and pressed states. For a palette, the analogous pair #FB765F and #E4FB5F stays calm, while #5F96FB is the loudest partner.

What is #fbc45f in CMYK for printing?

cmyk(0%, 22%, 62%, 2%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #fbc45f warm or cool?

Warm — it scores 7 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FBAF5F; nudged cooler, #FAFD5D.

Work with #fbc45f in the Color Lab