Skip to content

#f0af49

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

RGB
240, 175, 73
HSL
37°, 85%, 61%
CMYK
0, 27, 70, 6
Luminance
0.4967

Every format

HEX#f0af49
RGBrgb(240, 175, 73)
HSLhsl(37, 85%, 61%)
CMYKcmyk(0%, 27%, 70%, 6%)
LABlab(75.9 14.2 59.6)
LCHlch(75.9 61.3 76.6)
OKLCHoklch(0.797 0.138 75.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0af49 on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#f0af49 on black: 10.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green68.6%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta27.1%
Yellow69.6%
Key (black)5.9%

Color previews

#f0af49 text on a black background

contrast 10.93:1

Card sample

#f0af49 text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0af49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0af49 in the Color Lab