Skip to content

#faeb2d

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

RGB
250, 235, 45
HSL
56°, 95%, 58%
CMYK
0, 6, 82, 2
Luminance
0.7993

Every format

HEX#faeb2d
RGBrgb(250, 235, 45)
HSLhsl(56, 95%, 58%)
CMYKcmyk(0%, 6%, 82%, 2%)
LABlab(91.7 -13.3 84.1)
LCHlch(91.7 85.1 99.0)
OKLCHoklch(0.923 0.186 104.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#faeb2d on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#faeb2d on black: 16.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green92.2%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta6.0%
Yellow82.0%
Key (black)2.0%

Color previews

#faeb2d text on a black background

contrast 16.99:1

Card sample

#faeb2d text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(250, 235, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(250, 235, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #faeb2d;
background: linear-gradient(135deg, #faeb2d, #80FA2D);

Monochromatic scale

Palettes built from #faeb2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faeb2d in the Color Lab