Skip to content

#f2ad2d

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

RGB
242, 173, 45
HSL
39°, 88%, 56%
CMYK
0, 29, 81, 5
Luminance
0.4895

Every format

HEX#f2ad2d
RGBrgb(242, 173, 45)
HSLhsl(39, 88%, 56%)
CMYKcmyk(0%, 29%, 81%, 5%)
LABlab(75.4 15.0 69.9)
LCHlch(75.4 71.5 77.9)
OKLCHoklch(0.794 0.154 77.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2ad2d on white: 1.95:1
AA ✗ fail · AA-large · AAA
Aa
#f2ad2d on black: 10.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green67.8%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta28.5%
Yellow81.4%
Key (black)5.1%

Color previews

#f2ad2d text on a black background

contrast 10.79:1

Card sample

#f2ad2d text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2ad2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2ad2d in the Color Lab