Skip to content

#f1c749

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

RGB
241, 199, 73
HSL
45°, 86%, 62%
CMYK
0, 17, 70, 6
Luminance
0.6003

Every format

HEX#f1c749
RGBrgb(241, 199, 73)
HSLhsl(45, 86%, 62%)
CMYKcmyk(0%, 17%, 70%, 6%)
LABlab(81.9 2.1 65.8)
LCHlch(81.9 65.8 88.2)
OKLCHoklch(0.844 0.147 90.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f1c749 on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#f1c749 on black: 13.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.5%
Green78.0%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta17.4%
Yellow69.7%
Key (black)5.5%

Color previews

#f1c749 text on a black background

contrast 13.01:1

Card sample

#f1c749 text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(241, 199, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(241, 199, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f1c749;
background: linear-gradient(135deg, #f1c749, #ABF149);

Monochromatic scale

Palettes built from #f1c749

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f1c749 in the Color Lab