Skip to content

#faff82

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

RGB
250, 255, 130
HSL
62°, 100%, 76%
CMYK
2, 0, 49, 0
Luminance
0.9346

Every format

HEX#faff82
RGBrgb(250, 255, 130)
HSLhsl(62, 100%, 76%)
CMYKcmyk(2%, 0%, 49%, 0%)
LABlab(97.4 -18.3 58.6)
LCHlch(97.4 61.4 107.4)
OKLCHoklch(0.971 0.148 110.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.0%
Green100.0%
Blue51.0%

CMYK percentages

Cyan2.0%
Magenta0.0%
Yellow49.0%
Key (black)0.0%

Color previews

#faff82 text on a black background

contrast 19.69:1

Card sample

#faff82 text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faff82

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faff82 in the Color Lab