Skip to content

#f0af5d

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

RGB
240, 175, 93
HSL
34°, 83%, 65%
CMYK
0, 27, 61, 6
Luminance
0.4998

Every format

HEX#f0af5d
RGBrgb(240, 175, 93)
HSLhsl(34, 83%, 65%)
CMYKcmyk(0%, 27%, 61%, 6%)
LABlab(76.1 15.4 50.6)
LCHlch(76.1 52.9 73.1)
OKLCHoklch(0.799 0.125 70.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.1%
Green68.6%
Blue36.5%

CMYK percentages

Cyan0.0%
Magenta27.1%
Yellow61.2%
Key (black)5.9%

Color previews

#f0af5d text on a black background

contrast 11.00:1

Card sample

#f0af5d text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0af5d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0af5d in the Color Lab