Skip to content

#ffac38

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

RGB
255, 172, 56
HSL
35°, 100%, 61%
CMYK
0, 33, 78, 0
Luminance
0.5105

At a glance

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

Hex
#ffac38
Hue
35°
orange
Saturation
100%
electric
Lightness
61%
balanced
Brightness
100%
HSV value
Perceived
76%
weighted brightness
Luminance
0.5105
WCAG relative
Temperature
Warm
4/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
11.21:1
Closest name
Orange
ΔE2000 2.9
Where it sits
Hue35° of 360°
Saturation100%
Lightness61%
Temperature
Warm ← → Cool4% 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#ffac38
RGBrgb(255, 172, 56)
HSLhsl(35, 100%, 61%)
CMYKcmyk(0%, 33%, 78%, 0%)
LABlab(76.7 21.3 67.8)
LCHlch(76.7 71.1 72.6)
OKLCHoklch(0.807 0.156 70.3)
Decimal16755768
Display P3color(display-p3 1.000 0.675 0.220)

Copy-ready code

/* CSS */
color: #ffac38;
background-color: #ffac38;
/* Tailwind (arbitrary) */
class="text-[#ffac38] bg-[#ffac38]"
/* SCSS */
$brand: #ffac38;
/* SwiftUI */
Color(red: 1.000, green: 0.675, blue: 0.220)
/* Android */
Color.parseColor("#ffac38")
/* Flutter */
Color(0xFFFFAC38)
/* Python / OpenCV (BGR) */
(56, 172, 255)

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

Accessibility — WCAG contrast

Aa
#ffac38 on white: 1.87:1
AA ✗ fail · AA-large · AAA
Aa
#ffac38 on black: 11.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C8B224
deuteranopia · #DCC53B
tritanopia · #FF9795

Color scale — 50 to 950

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

#FEF8F1
#FCF2E3
#FCE3C0
#FFD08F
#FFB957
#ffac38
#F58F00
#CC7700
#A35F00
#764705
#492C03
Base = 500Lightest = 50 · #FEF8F1Darkest = 950 · #492C03
:root {
  --brand-50: #FEF8F1;
  --brand-100: #FCF2E3;
  --brand-200: #FCE3C0;
  --brand-300: #FFD08F;
  --brand-400: #FFB957;
  --brand-500: #ffac38;
  --brand-600: #F58F00;
  --brand-700: #CC7700;
  --brand-800: #A35F00;
  --brand-900: #764705;
  --brand-950: #492C03;
  --brand: #ffac38;
  --brand-ink: #000000;
}

Colors that work with #ffac38

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#9B794B
Captions on the surface
Accent#0088CC
Second voice, not a rival
Dark variant#804A00
Hover, pressed, headers
Light variant#FFF4E5
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 #ffac38

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#388BFF
Analogous left#FF4938
Analogous right#EEFF38
Split-complement 1#38EEFF
Split-complement 2#4938FF
Triadic 1#38FFAC
Triadic 2#AC38FF
Tetradic#38FF49

RGB percentages

Red100.0%
Green67.5%
Blue22.0%

CMYK percentages

Cyan0.0%
Magenta32.5%
Yellow78.0%
Key (black)0.0%

Color previews

#ffac38 text on a black background

contrast 11.21:1

Card sample

#ffac38 text on a white background

contrast 1.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffac38

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.

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

#ffac38, answered

What color is #ffac38?

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

What is the RGB value of #ffac38?

rgb(255, 172, 56) — 255 red, 172 green and 56 blue out of 255, or 100% / 67.5% / 22% by channel.

Is #ffac38 a light or a dark color?

It is a light color. Relative luminance is 0.5105 and perceived brightness is 76%, so black text on it reaches 11.21:1.

Should I use black or white text on #ffac38?

Black. It scores 11.21:1 against #ffac38, versus 1.87:1 for white — AAA at any size.

What is the complementary color of #ffac38?

#388BFF sits directly opposite on the wheel. Softer options are the split-complements #38EEFF and #4938FF, which give the same contrast with far less vibration.

What colors go well with #ffac38?

For interface work: #FAF8F4 as the surface, #EDDAC0 for borders, #9B794B for secondary text, #0088CC as an accent and #804A00 for hover and pressed states. For a palette, the analogous pair #FF4938 and #EEFF38 stays calm, while #388BFF is the loudest partner.

What is #ffac38 in CMYK for printing?

cmyk(0%, 33%, 78%, 0%). 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 #ffac38 warm or cool?

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

Work with #ffac38 in the Color Lab