Skip to content

#f7f910

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

RGB
247, 249, 16
HSL
61°, 95%, 52%
CMYK
1, 0, 94, 2
Luminance
0.8756

Every format

HEX#f7f910
RGBrgb(247, 249, 16)
HSLhsl(61, 95%, 52%)
CMYKcmyk(1%, 0%, 94%, 2%)
LABlab(95.0 -21.9 91.4)
LCHlch(95.0 94.0 103.4)
OKLCHoklch(0.949 0.206 110.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f7f910 on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#f7f910 on black: 18.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.9%
Green97.6%
Blue6.3%

CMYK percentages

Cyan0.8%
Magenta0.0%
Yellow93.6%
Key (black)2.4%

Color previews

#f7f910 text on a black background

contrast 18.51:1

Card sample

#f7f910 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(247, 249, 16, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(247, 249, 16, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f7f910;
background: linear-gradient(135deg, #f7f910, #5CF910);

Monochromatic scale

Palettes built from #f7f910

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f7f910 in the Color Lab