Skip to content

#fdab0c

a balanced, electric orange · warm · closest name: Orange

RGB
253, 171, 12
HSL
40°, 98%, 52%
CMYK
0, 32, 95, 1
Luminance
0.5004

At a glance

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

Hex
#fdab0c
Hue
40°
orange
Saturation
98%
electric
Lightness
52%
balanced
Brightness
99%
HSV value
Perceived
75%
weighted brightness
Luminance
0.5004
WCAG relative
Temperature
Warm
8/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
11.01:1
Closest name
Orange
ΔE2000 2.3
Where it sits
Hue40° of 360°
Saturation98%
Lightness52%
Temperature
Warm ← → Cool8% 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#fdab0c
RGBrgb(253, 171, 12)
HSLhsl(40, 98%, 52%)
CMYKcmyk(0%, 32%, 95%, 1%)
LABlab(76.1 20.1 78.3)
LCHlch(76.1 80.8 75.6)
OKLCHoklch(0.801 0.168 74.1)
Decimal16624396
Display P3color(display-p3 0.992 0.671 0.047)

Copy-ready code

/* CSS */
color: #fdab0c;
background-color: #fdab0c;
/* Tailwind (arbitrary) */
class="text-[#fdab0c] bg-[#fdab0c]"
/* SCSS */
$brand: #fdab0c;
/* SwiftUI */
Color(red: 0.992, green: 0.671, blue: 0.047)
/* Android */
Color.parseColor("#fdab0c")
/* Flutter */
Color(0xFFFDAB0C)
/* Python / OpenCV (BGR) */
(12, 171, 253)

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 #fdab0c · 11.01:1
Use #000000AAA at every size.
Aa
White text · 1.91:1
AA fail · AA large fail · AAA fail
Aa
Black text · 11.01:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #fdab0c as text scores 1.91:1 on white and 11.01:1 on black.

Accessibility — WCAG contrast

Aa
#fdab0c on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#fdab0c on black: 11.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C8B000
deuteranopia · #DBC419
tritanopia · #FF9592

Color scale — 50 to 950

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

#FEF9F1
#FCF4E3
#FBE7C1
#FED990
#FEC558
#fdab0c
#F3A102
#CA8602
#A26B01
#754F06
#493104
Base = 500Lightest = 50 · #FEF9F1Darkest = 950 · #493104
:root {
  --brand-50: #FEF9F1;
  --brand-100: #FCF4E3;
  --brand-200: #FBE7C1;
  --brand-300: #FED990;
  --brand-400: #FEC558;
  --brand-500: #fdab0c;
  --brand-600: #F3A102;
  --brand-700: #CA8602;
  --brand-800: #A26B01;
  --brand-900: #754F06;
  --brand-950: #493104;
  --brand: #fdab0c;
  --brand-ink: #000000;
}

Colors that work with #fdab0c

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#9B804B
Captions on the surface
Accent#0079CC
Second voice, not a rival
Dark variant#7E5401
Hover, pressed, headers
Light variant#FFF6E6
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 #fdab0c

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
  • 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
  • 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#0C5EFD
Analogous left#FD330C
Analogous right#D7FD0C
Split-complement 1#0CD7FD
Split-complement 2#330CFD
Triadic 1#0CFDAB
Triadic 2#AB0CFD
Tetradic#0CFD33

RGB percentages

Red99.2%
Green67.1%
Blue4.7%

CMYK percentages

Cyan0.0%
Magenta32.4%
Yellow95.3%
Key (black)0.8%

Color previews

#fdab0c text on a black background

contrast 11.01:1

Card sample

#fdab0c text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(253, 171, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(253, 171, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fdab0c;
background: linear-gradient(135deg, #fdab0c, #AEFD0C);

Monochromatic scale

Palettes built from #fdab0c

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.

#fdab0c 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
ButtonsLinksFocus statesCharts
Print note

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

#fdab0c, answered

What color is #fdab0c?

#fdab0c is a balanced electric orange, closest to Orange (ΔE2000 2.3). It sits at 40° on the hue wheel with 98% saturation and 52% lightness, which reads as warm.

What is the RGB value of #fdab0c?

rgb(253, 171, 12) — 253 red, 171 green and 12 blue out of 255, or 99.2% / 67.1% / 4.7% by channel.

Is #fdab0c a light or a dark color?

It is a light color. Relative luminance is 0.5004 and perceived brightness is 75%, so black text on it reaches 11.01:1.

Should I use black or white text on #fdab0c?

Black. It scores 11.01:1 against #fdab0c, versus 1.91:1 for white — AAA at any size.

What is the complementary color of #fdab0c?

#0C5EFD sits directly opposite on the wheel. Softer options are the split-complements #0CD7FD and #330CFD, which give the same contrast with far less vibration.

What colors go well with #fdab0c?

For interface work: #FAF8F4 as the surface, #EDDDC0 for borders, #9B804B for secondary text, #0079CC as an accent and #7E5401 for hover and pressed states. For a palette, the analogous pair #FD330C and #D7FD0C stays calm, while #0C5EFD is the loudest partner.

What is #fdab0c in CMYK for printing?

cmyk(0%, 32%, 95%, 1%). 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 #fdab0c warm or cool?

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

Work with #fdab0c in the Color Lab