Skip to content

#f9cf3d

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

RGB
249, 207, 61
HSL
47°, 94%, 61%
CMYK
0, 17, 76, 2
Luminance
0.6510

Every format

HEX#f9cf3d
RGBrgb(249, 207, 61)
HSLhsl(47, 94%, 61%)
CMYKcmyk(0%, 17%, 76%, 2%)
LABlab(84.5 0.8 73.1)
LCHlch(84.5 73.1 89.4)
OKLCHoklch(0.867 0.160 92.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f9cf3d on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#f9cf3d on black: 14.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red97.6%
Green81.2%
Blue23.9%

CMYK percentages

Cyan0.0%
Magenta16.9%
Yellow75.5%
Key (black)2.4%

Color previews

#f9cf3d text on a black background

contrast 14.02:1

Card sample

#f9cf3d text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f9cf3d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f9cf3d in the Color Lab