Skip to content

#fadf71

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

RGB
250, 223, 113
HSL
48°, 93%, 71%
CMYK
0, 11, 55, 2
Luminance
0.7429

Every format

HEX#fadf71
RGBrgb(250, 223, 113)
HSLhsl(48, 93%, 71%)
CMYKcmyk(0%, 11%, 55%, 2%)
LABlab(89.1 -3.9 56.5)
LCHlch(89.1 56.7 94.0)
OKLCHoklch(0.904 0.133 95.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fadf71 on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#fadf71 on black: 15.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green87.5%
Blue44.3%

CMYK percentages

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

Color previews

#fadf71 text on a black background

contrast 15.86:1

Card sample

#fadf71 text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fadf71

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fadf71 in the Color Lab