Skip to content

#f4c01c

a balanced, electric yellow · cool · closest name: gold

RGB
244, 192, 28
HSL
46°, 91%, 53%
CMYK
0, 21, 89, 4
Luminance
0.5702

Every format

HEX#f4c01c
RGBrgb(244, 192, 28)
HSLhsl(46, 91%, 53%)
CMYKcmyk(0%, 21%, 89%, 4%)
LABlab(80.2 5.5 78.3)
LCHlch(80.2 78.5 86.0)
OKLCHoklch(0.831 0.165 88.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f4c01c on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#f4c01c on black: 12.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red95.7%
Green75.3%
Blue11.0%

CMYK percentages

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

Color previews

#f4c01c text on a black background

contrast 12.40:1

Card sample

#f4c01c text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f4c01c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f4c01c in the Color Lab