Skip to content

#face2f

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

RGB
250, 206, 47
HSL
47°, 95%, 58%
CMYK
0, 18, 81, 2
Luminance
0.6467

Every format

HEX#face2f
RGBrgb(250, 206, 47)
HSLhsl(47, 95%, 58%)
CMYKcmyk(0%, 18%, 81%, 2%)
LABlab(84.3 1.3 77.3)
LCHlch(84.3 77.3 89.1)
OKLCHoklch(0.865 0.166 91.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#face2f on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#face2f on black: 13.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green80.8%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta17.6%
Yellow81.2%
Key (black)2.0%

Color previews

#face2f text on a black background

contrast 13.93:1

Card sample

#face2f text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(250, 206, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(250, 206, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #face2f;
background: linear-gradient(135deg, #face2f, #9FFA2F);

Monochromatic scale

Palettes built from #face2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #face2f in the Color Lab