Skip to content

#fadf97

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

RGB
250, 223, 151
HSL
44°, 91%, 79%
CMYK
0, 11, 40, 2
Luminance
0.7533

Every format

HEX#fadf97
RGBrgb(250, 223, 151)
HSLhsl(44, 91%, 79%)
CMYKcmyk(0%, 11%, 40%, 2%)
LABlab(89.5 -0.4 38.7)
LCHlch(89.5 38.7 90.7)
OKLCHoklch(0.910 0.095 89.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fadf97 on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#fadf97 on black: 16.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green87.5%
Blue59.2%

CMYK percentages

Cyan0.0%
Magenta10.8%
Yellow39.6%
Key (black)2.0%

Color previews

#fadf97 text on a black background

contrast 16.07:1

Card sample

#fadf97 text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(250, 223, 151, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(250, 223, 151, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fadf97;
background: linear-gradient(135deg, #fadf97, #D3FA97);

Monochromatic scale

Palettes built from #fadf97

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fadf97 in the Color Lab