Skip to content

#faff6f

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

RGB
250, 255, 111
HSL
62°, 100%, 72%
CMYK
2, 0, 57, 0
Luminance
0.9299

Every format

HEX#faff6f
RGBrgb(250, 255, 111)
HSLhsl(62, 100%, 72%)
CMYKcmyk(2%, 0%, 57%, 0%)
LABlab(97.2 -19.8 66.7)
LCHlch(97.2 69.6 106.5)
OKLCHoklch(0.969 0.165 111.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#faff6f on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#faff6f on black: 19.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green100.0%
Blue43.5%

CMYK percentages

Cyan2.0%
Magenta0.0%
Yellow56.5%
Key (black)0.0%

Color previews

#faff6f text on a black background

contrast 19.60:1

Card sample

#faff6f text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(250, 255, 111, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(250, 255, 111, 0.45);
Border & gradient
Gradient panel
border: 3px solid #faff6f;
background: linear-gradient(135deg, #faff6f, #9AFF6F);

Monochromatic scale

Palettes built from #faff6f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faff6f in the Color Lab