Skip to content

#f6a708

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

RGB
246, 167, 8
HSL
40°, 94%, 50%
CMYK
0, 32, 97, 4
Luminance
0.4725

At a glance

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

Hex
#f6a708
Hue
40°
yellow
Saturation
94%
electric
Lightness
50%
balanced
Brightness
96%
HSV value
Perceived
73%
weighted brightness
Luminance
0.4725
WCAG relative
Temperature
Warm
8/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
10.45:1
Closest name
Orange
ΔE2000 2.5
Where it sits
Hue40° of 360°
Saturation94%
Lightness50%
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#f6a708
RGBrgb(246, 167, 8)
HSLhsl(40, 94%, 50%)
CMYKcmyk(0%, 32%, 97%, 4%)
LABlab(74.3 19.2 77.1)
LCHlch(74.3 79.5 76.1)
OKLCHoklch(0.786 0.165 74.7)
Decimal16164616
Display P3color(display-p3 0.965 0.655 0.031)

Copy-ready code

/* CSS */
color: #f6a708;
background-color: #f6a708;
/* Tailwind (arbitrary) */
class="text-[#f6a708] bg-[#f6a708]"
/* SCSS */
$brand: #f6a708;
/* SwiftUI */
Color(red: 0.965, green: 0.655, blue: 0.031)
/* Android */
Color.parseColor("#f6a708")
/* Flutter */
Color(0xFFF6A708)
/* Python / OpenCV (BGR) */
(8, 167, 246)

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

Accessibility — WCAG contrast

Aa
#f6a708 on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#f6a708 on black: 10.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C3AB00
deuteranopia · #D6BF16
tritanopia · #FF928E

Color scale — 50 to 950

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

#FDF9F2
#FBF4E4
#FAE7C2
#FBD992
#FAC55C
#F8B226
#f6a708
#C68606
#9E6B05
#724F08
#473105
Base = 600Lightest = 50 · #FDF9F2Darkest = 950 · #473105
:root {
  --brand-50: #FDF9F2;
  --brand-100: #FBF4E4;
  --brand-200: #FAE7C2;
  --brand-300: #FBD992;
  --brand-400: #FAC55C;
  --brand-500: #F8B226;
  --brand-600: #f6a708;
  --brand-700: #C68606;
  --brand-800: #9E6B05;
  --brand-900: #724F08;
  --brand-950: #473105;
  --brand: #f6a708;
  --brand-ink: #000000;
}

Colors that work with #f6a708

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#EDDEC0
Hairlines and dividers
Muted text#9B804B
Captions on the surface
Accent#0393FB
Second voice, not a rival
Dark variant#7B5404
Hover, pressed, headers
Light variant#FEF6E6
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 #f6a708

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
  • Thin strokes and 1px borders — they disappear on light UI
  • 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#0857F6
Analogous left#F63008
Analogous right#CEF608
Split-complement 1#08CEF6
Split-complement 2#3008F6
Triadic 1#08F6A7
Triadic 2#A708F6
Tetradic#08F630

RGB percentages

Red96.5%
Green65.5%
Blue3.1%

CMYK percentages

Cyan0.0%
Magenta32.1%
Yellow96.7%
Key (black)3.5%

Color previews

#f6a708 text on a black background

contrast 10.45:1

Card sample

#f6a708 text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f6a708

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.

#f6a708 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
RetailLeisureEnergyWarning systems
Common UI roles
ButtonsLinksFocus statesCharts
Print note

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

#f6a708, answered

What color is #f6a708?

#f6a708 is a balanced electric yellow, closest to Orange (ΔE2000 2.5). It sits at 40° on the hue wheel with 94% saturation and 50% lightness, which reads as warm.

What is the RGB value of #f6a708?

rgb(246, 167, 8) — 246 red, 167 green and 8 blue out of 255, or 96.5% / 65.5% / 3.1% by channel.

Is #f6a708 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4725 and perceived brightness is 73%, so black text on it reaches 10.45:1.

Should I use black or white text on #f6a708?

Black. It scores 10.45:1 against #f6a708, versus 2.01:1 for white — AAA at any size.

What is the complementary color of #f6a708?

#0857F6 sits directly opposite on the wheel. Softer options are the split-complements #08CEF6 and #3008F6, which give the same contrast with far less vibration.

What colors go well with #f6a708?

For interface work: #FAF8F4 as the surface, #EDDEC0 for borders, #9B804B for secondary text, #0393FB as an accent and #7B5404 for hover and pressed states. For a palette, the analogous pair #F63008 and #CEF608 stays calm, while #0857F6 is the loudest partner.

What is #f6a708 in CMYK for printing?

cmyk(0%, 32%, 97%, 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 #f6a708 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 #F68A08; nudged cooler, #F0F905.

Work with #f6a708 in the Color Lab