Skip to content

#f0af50

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

RGB
240, 175, 80
HSL
36°, 84%, 63%
CMYK
0, 27, 67, 6
Luminance
0.4976

At a glance

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

Hex
#f0af50
Hue
36°
orange
Saturation
84%
electric
Lightness
63%
balanced
Brightness
94%
HSV value
Perceived
74%
weighted brightness
Luminance
0.4976
WCAG relative
Temperature
Warm
5/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
10.95:1
Closest name
Orange
ΔE2000 6.1
Where it sits
Hue36° of 360°
Saturation84%
Lightness63%
Temperature
Warm ← → Cool5% 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#f0af50
RGBrgb(240, 175, 80)
HSLhsl(36, 84%, 63%)
CMYKcmyk(0%, 27%, 67%, 6%)
LABlab(75.9 14.6 56.6)
LCHlch(75.9 58.4 75.6)
OKLCHoklch(0.798 0.134 73.9)
Decimal15773520
Display P3color(display-p3 0.941 0.686 0.314)

Copy-ready code

/* CSS */
color: #f0af50;
background-color: #f0af50;
/* Tailwind (arbitrary) */
class="text-[#f0af50] bg-[#f0af50]"
/* SCSS */
$brand: #f0af50;
/* SwiftUI */
Color(red: 0.941, green: 0.686, blue: 0.314)
/* Android */
Color.parseColor("#f0af50")
/* Flutter */
Color(0xFFF0AF50)
/* Python / OpenCV (BGR) */
(80, 175, 240)

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

Accessibility — WCAG contrast

Aa
#f0af50 on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#f0af50 on black: 10.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C6B246
deuteranopia · #D6C153
tritanopia · #FF9E9A

Color scale — 50 to 950

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

#FCF8F2
#FAF2E6
#F6E2C5
#F6D098
#f0af50
#EDA030
#E18E13
#BC7610
#965E0D
#6D460E
#442C09
Base = 400Lightest = 50 · #FCF8F2Darkest = 950 · #442C09
:root {
  --brand-50: #FCF8F2;
  --brand-100: #FAF2E6;
  --brand-200: #F6E2C5;
  --brand-300: #F6D098;
  --brand-400: #f0af50;
  --brand-500: #EDA030;
  --brand-600: #E18E13;
  --brand-700: #BC7610;
  --brand-800: #965E0D;
  --brand-900: #6D460E;
  --brand-950: #442C09;
  --brand: #f0af50;
  --brand-ink: #000000;
}

Colors that work with #f0af50

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#EDDAC0
Hairlines and dividers
Muted text#9B7A4B
Captions on the surface
Accent#0C82C0
Second voice, not a rival
Dark variant#754A0A
Hover, pressed, headers
Light variant#FDF4E8
Selected rows, tints
Dark surface#241E14
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 #f0af50

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#5091F0
Analogous left#F05F50
Analogous right#E1F050
Split-complement 1#50E1F0
Split-complement 2#5F50F0
Triadic 1#50F0AF
Triadic 2#AF50F0
Tetradic#50F05F

RGB percentages

Red94.1%
Green68.6%
Blue31.4%

CMYK percentages

Cyan0.0%
Magenta27.1%
Yellow66.7%
Key (black)5.9%

Color previews

#f0af50 text on a black background

contrast 10.95:1

Card sample

#f0af50 text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(240, 175, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 175, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0af50;
background: linear-gradient(135deg, #f0af50, #C6F050);

Monochromatic scale

Palettes built from #f0af50

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.

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

#f0af50, answered

What color is #f0af50?

#f0af50 is a balanced electric orange, closest to Orange (ΔE2000 6.1). It sits at 36° on the hue wheel with 84% saturation and 63% lightness, which reads as warm.

What is the RGB value of #f0af50?

rgb(240, 175, 80) — 240 red, 175 green and 80 blue out of 255, or 94.1% / 68.6% / 31.4% by channel.

Is #f0af50 a light or a dark color?

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

Should I use black or white text on #f0af50?

Black. It scores 10.95:1 against #f0af50, versus 1.92:1 for white — AAA at any size.

What is the complementary color of #f0af50?

#5091F0 sits directly opposite on the wheel. Softer options are the split-complements #50E1F0 and #5F50F0, which give the same contrast with far less vibration.

What colors go well with #f0af50?

For interface work: #FAF8F4 as the surface, #EDDAC0 for borders, #9B7A4B for secondary text, #0C82C0 as an accent and #754A0A for hover and pressed states. For a palette, the analogous pair #F05F50 and #E1F050 stays calm, while #5091F0 is the loudest partner.

What is #f0af50 in CMYK for printing?

cmyk(0%, 27%, 67%, 6%). 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 #f0af50 warm or cool?

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

Work with #f0af50 in the Color Lab