Skip to content

#f5ac4f

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

RGB
245, 172, 79
HSL
34°, 89%, 64%
CMYK
0, 30, 68, 4
Luminance
0.4948

At a glance

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

Hex
#f5ac4f
Hue
34°
orange
Saturation
89%
electric
Lightness
64%
balanced
Brightness
96%
HSV value
Perceived
74%
weighted brightness
Luminance
0.4948
WCAG relative
Temperature
Warm
3/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
10.90:1
Closest name
Orange
ΔE2000 5.5
Where it sits
Hue34° of 360°
Saturation89%
Lightness64%
Temperature
Warm ← → Cool3% 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#f5ac4f
RGBrgb(245, 172, 79)
HSLhsl(34, 89%, 64%)
CMYKcmyk(0%, 30%, 68%, 4%)
LABlab(75.8 18.2 57.0)
LCHlch(75.8 59.8 72.3)
OKLCHoklch(0.798 0.138 69.9)
Decimal16100431
Display P3color(display-p3 0.961 0.675 0.310)

Copy-ready code

/* CSS */
color: #f5ac4f;
background-color: #f5ac4f;
/* Tailwind (arbitrary) */
class="text-[#f5ac4f] bg-[#f5ac4f]"
/* SCSS */
$brand: #f5ac4f;
/* SwiftUI */
Color(red: 0.961, green: 0.675, blue: 0.310)
/* Android */
Color.parseColor("#f5ac4f")
/* Flutter */
Color(0xFFF5AC4F)
/* Python / OpenCV (BGR) */
(79, 172, 245)

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

Accessibility — WCAG contrast

Aa
#f5ac4f on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#f5ac4f on black: 10.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C5B045
deuteranopia · #D6C251
tritanopia · #FF9A98

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #f5ac4f 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.

#FDF8F2
#FBF1E5
#F8E1C4
#F9CD95
#f5ac4f
#F39B2B
#E8880D
#C1710B
#9A5A09
#6F430B
#462A07
Base = 400Lightest = 50 · #FDF8F2Darkest = 950 · #462A07
:root {
  --brand-50: #FDF8F2;
  --brand-100: #FBF1E5;
  --brand-200: #F8E1C4;
  --brand-300: #F9CD95;
  --brand-400: #f5ac4f;
  --brand-500: #F39B2B;
  --brand-600: #E8880D;
  --brand-700: #C1710B;
  --brand-800: #9A5A09;
  --brand-900: #6F430B;
  --brand-950: #462A07;
  --brand: #f5ac4f;
  --brand-ink: #000000;
}

Colors that work with #f5ac4f

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#EDD9C0
Hairlines and dividers
Muted text#9B784B
Captions on the surface
Accent#078AC5
Second voice, not a rival
Dark variant#794707
Hover, pressed, headers
Light variant#FEF4E7
Selected rows, tints
Dark surface#241D14
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 #f5ac4f

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#4F98F5
Analogous left#F5594F
Analogous right#EBF54F
Split-complement 1#4FEBF5
Split-complement 2#594FF5
Triadic 1#4FF5AC
Triadic 2#AC4FF5
Tetradic#4FF559

RGB percentages

Red96.1%
Green67.5%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta29.8%
Yellow67.8%
Key (black)3.9%

Color previews

#f5ac4f text on a black background

contrast 10.90:1

Card sample

#f5ac4f text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(245, 172, 79, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(245, 172, 79, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f5ac4f;
background: linear-gradient(135deg, #f5ac4f, #CFF54F);

Monochromatic scale

Palettes built from #f5ac4f

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.

#f5ac4f 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.

#f5ac4f, answered

What color is #f5ac4f?

#f5ac4f is a balanced electric orange, closest to Orange (ΔE2000 5.5). It sits at 34° on the hue wheel with 89% saturation and 64% lightness, which reads as warm.

What is the RGB value of #f5ac4f?

rgb(245, 172, 79) — 245 red, 172 green and 79 blue out of 255, or 96.1% / 67.5% / 31% by channel.

Is #f5ac4f a light or a dark color?

It is a mid-tone. Relative luminance is 0.4948 and perceived brightness is 74%, so black text on it reaches 10.90:1.

Should I use black or white text on #f5ac4f?

Black. It scores 10.90:1 against #f5ac4f, versus 1.93:1 for white — AAA at any size.

What is the complementary color of #f5ac4f?

#4F98F5 sits directly opposite on the wheel. Softer options are the split-complements #4FEBF5 and #594FF5, which give the same contrast with far less vibration.

What colors go well with #f5ac4f?

For interface work: #FAF8F4 as the surface, #EDD9C0 for borders, #9B784B for secondary text, #078AC5 as an accent and #794707 for hover and pressed states. For a palette, the analogous pair #F5594F and #EBF54F stays calm, while #4F98F5 is the loudest partner.

What is #f5ac4f in CMYK for printing?

cmyk(0%, 30%, 68%, 4%). 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 #f5ac4f warm or cool?

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

Work with #f5ac4f in the Color Lab