Skip to content

#f0ae13

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

RGB
240, 174, 19
HSL
42°, 88%, 51%
CMYK
0, 28, 92, 6
Luminance
0.4884

Every format

HEX#f0ae13
RGBrgb(240, 174, 19)
HSLhsl(42, 88%, 51%)
CMYKcmyk(0%, 28%, 92%, 6%)
LABlab(75.4 13.0 76.1)
LCHlch(75.4 77.2 80.3)
OKLCHoklch(0.792 0.161 80.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0ae13 on white: 1.95:1
AA ✗ fail · AA-large · AAA
Aa
#f0ae13 on black: 10.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green68.2%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta27.5%
Yellow92.1%
Key (black)5.9%

Color previews

#f0ae13 text on a black background

contrast 10.77:1

Card sample

#f0ae13 text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(240, 174, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 174, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0ae13;
background: linear-gradient(135deg, #f0ae13, #9FF013);

Monochromatic scale

Palettes built from #f0ae13

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0ae13 in the Color Lab