Skip to content

#f0964c

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

RGB
240, 150, 76
HSL
27°, 85%, 62%
CMYK
0, 38, 68, 6
Luminance
0.4086

Every format

HEX#f0964c
RGBrgb(240, 150, 76)
HSLhsl(27, 85%, 62%)
CMYKcmyk(0%, 38%, 68%, 6%)
LABlab(70.1 27.6 52.0)
LCHlch(70.1 58.9 62.1)
OKLCHoklch(0.752 0.140 57.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0964c on white: 2.29:1
AA ✗ fail · AA-large · AAA
Aa
#f0964c on black: 9.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green58.8%
Blue29.8%

CMYK percentages

Cyan0.0%
Magenta37.5%
Yellow68.3%
Key (black)5.9%

Color previews

#f0964c text on a black background

contrast 9.17:1

Card sample

#f0964c text on a white background

contrast 2.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0964c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0964c in the Color Lab