Skip to content

#f6ae21

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

RGB
246, 174, 33
HSL
40°, 92%, 55%
CMYK
0, 29, 87, 4
Luminance
0.4997

Every format

HEX#f6ae21
RGBrgb(246, 174, 33)
HSLhsl(40, 92%, 55%)
CMYKcmyk(0%, 29%, 87%, 4%)
LABlab(76.1 15.8 74.0)
LCHlch(76.1 75.7 77.9)
OKLCHoklch(0.799 0.160 77.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red96.5%
Green68.2%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta29.3%
Yellow86.6%
Key (black)3.5%

Color previews

#f6ae21 text on a black background

contrast 10.99:1

Card sample

#f6ae21 text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f6ae21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f6ae21 in the Color Lab