Skip to content

#fadf9f

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

RGB
250, 223, 159
HSL
42°, 90%, 80%
CMYK
0, 11, 36, 2
Luminance
0.7560

Every format

HEX#fadf9f
RGBrgb(250, 223, 159)
HSLhsl(42, 90%, 80%)
CMYKcmyk(0%, 11%, 36%, 2%)
LABlab(89.7 0.5 34.8)
LCHlch(89.7 34.8 89.3)
OKLCHoklch(0.911 0.086 87.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fadf9f on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#fadf9f on black: 16.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green87.5%
Blue62.4%

CMYK percentages

Cyan0.0%
Magenta10.8%
Yellow36.4%
Key (black)2.0%

Color previews

#fadf9f text on a black background

contrast 16.12:1

Card sample

#fadf9f text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fadf9f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fadf9f in the Color Lab