Skip to content

#f0ac49

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

RGB
240, 172, 73
HSL
36°, 85%, 61%
CMYK
0, 28, 70, 6
Luminance
0.4851

Every format

HEX#f0ac49
RGBrgb(240, 172, 73)
HSLhsl(36, 85%, 61%)
CMYKcmyk(0%, 28%, 70%, 6%)
LABlab(75.2 15.8 58.8)
LCHlch(75.2 60.9 75.0)
OKLCHoklch(0.792 0.138 73.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0ac49 on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#f0ac49 on black: 10.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green67.5%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta28.3%
Yellow69.6%
Key (black)5.9%

Color previews

#f0ac49 text on a black background

contrast 10.70:1

Card sample

#f0ac49 text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(240, 172, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 172, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0ac49;
background: linear-gradient(135deg, #f0ac49, #C5F049);

Monochromatic scale

Palettes built from #f0ac49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0ac49 in the Color Lab