Skip to content

#faef1d

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

RGB
250, 239, 29
HSL
57°, 96%, 55%
CMYK
0, 4, 88, 2
Luminance
0.8215

Every format

HEX#faef1d
RGBrgb(250, 239, 29)
HSLhsl(57, 96%, 55%)
CMYKcmyk(0%, 4%, 88%, 2%)
LABlab(92.6 -15.6 88.1)
LCHlch(92.6 89.5 100.1)
OKLCHoklch(0.931 0.195 106.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#faef1d on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#faef1d on black: 17.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green93.7%
Blue11.4%

CMYK percentages

Cyan0.0%
Magenta4.4%
Yellow88.4%
Key (black)2.0%

Color previews

#faef1d text on a black background

contrast 17.43:1

Card sample

#faef1d text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(250, 239, 29, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(250, 239, 29, 0.45);
Border & gradient
Gradient panel
border: 3px solid #faef1d;
background: linear-gradient(135deg, #faef1d, #72FA1D);

Monochromatic scale

Palettes built from #faef1d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faef1d in the Color Lab