Skip to content

#f4af1c

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

RGB
244, 175, 28
HSL
41°, 91%, 53%
CMYK
0, 28, 89, 4
Luminance
0.4998

Every format

HEX#f4af1c
RGBrgb(244, 175, 28)
HSLhsl(41, 91%, 53%)
CMYKcmyk(0%, 28%, 89%, 4%)
LABlab(76.1 14.4 75.1)
LCHlch(76.1 76.5 79.2)
OKLCHoklch(0.799 0.161 79.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red95.7%
Green68.6%
Blue11.0%

CMYK percentages

Cyan0.0%
Magenta28.3%
Yellow88.5%
Key (black)4.3%

Color previews

#f4af1c text on a black background

contrast 11.00:1

Card sample

#f4af1c text on a white background

contrast 1.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f4af1c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4af1c in the Color Lab