Skip to content

#faff7b

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

RGB
250, 255, 123
HSL
62°, 100%, 74%
CMYK
2, 0, 52, 0
Luminance
0.9327

Every format

HEX#faff7b
RGBrgb(250, 255, 123)
HSLhsl(62, 100%, 74%)
CMYKcmyk(2%, 0%, 52%, 0%)
LABlab(97.3 -18.9 61.6)
LCHlch(97.3 64.5 107.0)
OKLCHoklch(0.971 0.155 110.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.0%
Green100.0%
Blue48.2%

CMYK percentages

Cyan2.0%
Magenta0.0%
Yellow51.8%
Key (black)0.0%

Color previews

#faff7b text on a black background

contrast 19.65:1

Card sample

#faff7b text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faff7b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faff7b in the Color Lab