Skip to content

#f2ae2d

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

RGB
242, 174, 45
HSL
39°, 88%, 56%
CMYK
0, 28, 81, 5
Luminance
0.4934

Every format

HEX#f2ae2d
RGBrgb(242, 174, 45)
HSLhsl(39, 88%, 56%)
CMYKcmyk(0%, 28%, 81%, 5%)
LABlab(75.7 14.4 70.1)
LCHlch(75.7 71.6 78.4)
OKLCHoklch(0.795 0.154 77.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2ae2d on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#f2ae2d on black: 10.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green68.2%
Blue17.6%

CMYK percentages

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

Color previews

#f2ae2d text on a black background

contrast 10.87:1

Card sample

#f2ae2d text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2ae2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2ae2d in the Color Lab