Skip to content

#f1cf5f

a light, electric yellow · cool · closest name: khaki

RGB
241, 207, 95
HSL
46°, 84%, 66%
CMYK
0, 14, 61, 6
Luminance
0.6415

Every format

HEX#f1cf5f
RGBrgb(241, 207, 95)
HSLhsl(46, 84%, 66%)
CMYKcmyk(0%, 14%, 61%, 6%)
LABlab(84.0 -0.8 58.8)
LCHlch(84.0 58.8 90.7)
OKLCHoklch(0.862 0.136 92.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f1cf5f on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#f1cf5f on black: 13.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.5%
Green81.2%
Blue37.3%

CMYK percentages

Cyan0.0%
Magenta14.1%
Yellow60.6%
Key (black)5.5%

Color previews

#f1cf5f text on a black background

contrast 13.83:1

Card sample

#f1cf5f text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f1cf5f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f1cf5f in the Color Lab