Skip to content

#faff37

a balanced, electric yellow · cool · closest name: yellow

RGB
250, 255, 55
HSL
62°, 100%, 61%
CMYK
2, 0, 78, 0
Luminance
0.9212

Every format

HEX#faff37
RGBrgb(250, 255, 55)
HSLhsl(62, 100%, 61%)
CMYKcmyk(2%, 0%, 78%, 0%)
LABlab(96.9 -22.7 86.1)
LCHlch(96.9 89.0 104.8)
OKLCHoklch(0.965 0.200 111.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#faff37 on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#faff37 on black: 19.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green100.0%
Blue21.6%

CMYK percentages

Cyan2.0%
Magenta0.0%
Yellow78.4%
Key (black)0.0%

Color previews

#faff37 text on a black background

contrast 19.42:1

Card sample

#faff37 text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faff37

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faff37 in the Color Lab