Skip to content

#f0ac32

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

RGB
240, 172, 50
HSL
39°, 86%, 57%
CMYK
0, 28, 79, 6
Luminance
0.4826

Every format

HEX#f0ac32
RGBrgb(240, 172, 50)
HSLhsl(39, 86%, 57%)
CMYKcmyk(0%, 28%, 79%, 6%)
LABlab(75.0 14.8 67.8)
LCHlch(75.0 69.4 77.7)
OKLCHoklch(0.790 0.150 76.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0ac32 on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#f0ac32 on black: 10.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green67.5%
Blue19.6%

CMYK percentages

Cyan0.0%
Magenta28.3%
Yellow79.2%
Key (black)5.9%

Color previews

#f0ac32 text on a black background

contrast 10.65:1

Card sample

#f0ac32 text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0ac32

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0ac32 in the Color Lab