Skip to content

#fadf8f

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

RGB
250, 223, 143
HSL
45°, 92%, 77%
CMYK
0, 11, 43, 2
Luminance
0.7508

Every format

HEX#fadf8f
RGBrgb(250, 223, 143)
HSLhsl(45, 92%, 77%)
CMYKcmyk(0%, 11%, 43%, 2%)
LABlab(89.4 -1.3 42.5)
LCHlch(89.4 42.6 91.7)
OKLCHoklch(0.908 0.104 91.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.0%
Green87.5%
Blue56.1%

CMYK percentages

Cyan0.0%
Magenta10.8%
Yellow42.8%
Key (black)2.0%

Color previews

#fadf8f text on a black background

contrast 16.02:1

Card sample

#fadf8f text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fadf8f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fadf8f in the Color Lab