Skip to content

#f6af2f

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

RGB
246, 175, 47
HSL
39°, 92%, 58%
CMYK
0, 29, 81, 4
Luminance
0.5046

Every format

HEX#f6af2f
RGBrgb(246, 175, 47)
HSLhsl(39, 92%, 58%)
CMYKcmyk(0%, 29%, 81%, 4%)
LABlab(76.3 15.7 70.2)
LCHlch(76.3 72.0 77.4)
OKLCHoklch(0.802 0.155 76.6)

Copy-ready code

/* CSS */
color: #f6af2f;
background-color: #f6af2f;
/* Tailwind (arbitrary) */
class="text-[#f6af2f] bg-[#f6af2f]"
/* SCSS */
$brand: #f6af2f;
/* SwiftUI */
Color(red: 0.965, green: 0.686, blue: 0.184)
/* Android */
Color.parseColor("#f6af2f")

Accessibility — WCAG contrast

Aa
#f6af2f on white: 1.89:1
AA ✗ fail · AA-large · AAA
Aa
#f6af2f on black: 11.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.5%
Green68.6%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta28.9%
Yellow80.9%
Key (black)3.5%

Color previews

#f6af2f text on a black background

contrast 11.09:1

Card sample

#f6af2f text on a white background

contrast 1.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f6af2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f6af2f in the Color Lab