Skip to content

#f1cd2f

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

RGB
241, 205, 47
HSL
49°, 87%, 57%
CMYK
0, 15, 81, 6
Luminance
0.6257

Every format

HEX#f1cd2f
RGBrgb(241, 205, 47)
HSLhsl(49, 87%, 57%)
CMYKcmyk(0%, 15%, 81%, 6%)
LABlab(83.2 -2.0 76.0)
LCHlch(83.2 76.1 91.5)
OKLCHoklch(0.855 0.165 95.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f1cd2f on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#f1cd2f on black: 13.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.5%
Green80.4%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta14.9%
Yellow80.5%
Key (black)5.5%

Color previews

#f1cd2f text on a black background

contrast 13.51:1

Card sample

#f1cd2f text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(241, 205, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(241, 205, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f1cd2f;
background: linear-gradient(135deg, #f1cd2f, #94F12F);

Monochromatic scale

Palettes built from #f1cd2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f1cd2f in the Color Lab