Skip to content

#f2af43

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

RGB
242, 175, 67
HSL
37°, 87%, 61%
CMYK
0, 28, 72, 5
Luminance
0.4994

At a glance

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

Hex
#f2af43
Hue
37°
orange
Saturation
87%
electric
Lightness
61%
balanced
Brightness
95%
HSV value
Perceived
74%
weighted brightness
Luminance
0.4994
WCAG relative
Temperature
Warm
6/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
10.99:1
Closest name
Orange
ΔE2000 5.2
Where it sits
Hue37° of 360°
Saturation87%
Lightness61%
Temperature
Warm ← → Cool6% 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#f2af43
RGBrgb(242, 175, 67)
HSLhsl(37, 87%, 61%)
CMYKcmyk(0%, 28%, 72%, 5%)
LABlab(76.0 14.7 62.4)
LCHlch(76.0 64.1 76.7)
OKLCHoklch(0.799 0.143 75.6)
Decimal15904579
Display P3color(display-p3 0.949 0.686 0.263)

Copy-ready code

/* CSS */
color: #f2af43;
background-color: #f2af43;
/* Tailwind (arbitrary) */
class="text-[#f2af43] bg-[#f2af43]"
/* SCSS */
$brand: #f2af43;
/* SwiftUI */
Color(red: 0.949, green: 0.686, blue: 0.263)
/* Android */
Color.parseColor("#f2af43")
/* Flutter */
Color(0xFFF2AF43)
/* Python / OpenCV (BGR) */
(67, 175, 242)

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

Accessibility — WCAG contrast

Aa
#f2af43 on white: 1.91:1
AA ✗ fail · AA-large · AAA
Aa
#f2af43 on black: 10.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C8B235
deuteranopia · #D7C247
tritanopia · #FF9D99

Color scale — 50 to 950

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

#FDF9F2
#FAF2E5
#F7E4C4
#F8D296
#F4BC62
#f2af43
#E59310
#BF7B0D
#99620B
#6E490C
#452D08
Base = 500Lightest = 50 · #FDF9F2Darkest = 950 · #452D08
:root {
  --brand-50: #FDF9F2;
  --brand-100: #FAF2E5;
  --brand-200: #F7E4C4;
  --brand-300: #F8D296;
  --brand-400: #F4BC62;
  --brand-500: #f2af43;
  --brand-600: #E59310;
  --brand-700: #BF7B0D;
  --brand-800: #99620B;
  --brand-900: #6E490C;
  --brand-950: #452D08;
  --brand: #f2af43;
  --brand-ink: #000000;
}

Colors that work with #f2af43

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#EDDBC0
Hairlines and dividers
Muted text#9B7C4B
Captions on the surface
Accent#097FC3
Second voice, not a rival
Dark variant#774D08
Hover, pressed, headers
Light variant#FDF5E7
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 #f2af43

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#4386F2
Analogous left#F25743
Analogous right#DEF243
Split-complement 1#43DEF2
Split-complement 2#5743F2
Triadic 1#43F2AF
Triadic 2#AF43F2
Tetradic#43F257

RGB percentages

Red94.9%
Green68.6%
Blue26.3%

CMYK percentages

Cyan0.0%
Magenta27.7%
Yellow72.3%
Key (black)5.1%

Color previews

#f2af43 text on a black background

contrast 10.99:1

Card sample

#f2af43 text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2af43

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.

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

#f2af43, answered

What color is #f2af43?

#f2af43 is a balanced electric orange, closest to Orange (ΔE2000 5.2). It sits at 37° on the hue wheel with 87% saturation and 61% lightness, which reads as warm.

What is the RGB value of #f2af43?

rgb(242, 175, 67) — 242 red, 175 green and 67 blue out of 255, or 94.9% / 68.6% / 26.3% by channel.

Is #f2af43 a light or a dark color?

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

Should I use black or white text on #f2af43?

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

What is the complementary color of #f2af43?

#4386F2 sits directly opposite on the wheel. Softer options are the split-complements #43DEF2 and #5743F2, which give the same contrast with far less vibration.

What colors go well with #f2af43?

For interface work: #FAF8F4 as the surface, #EDDBC0 for borders, #9B7C4B for secondary text, #097FC3 as an accent and #774D08 for hover and pressed states. For a palette, the analogous pair #F25743 and #DEF243 stays calm, while #4386F2 is the loudest partner.

What is #f2af43 in CMYK for printing?

cmyk(0%, 28%, 72%, 5%). 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 #f2af43 warm or cool?

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

Work with #f2af43 in the Color Lab