Skip to content

#f7f95f

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

RGB
247, 249, 95
HSL
61°, 93%, 68%
CMYK
1, 0, 62, 2
Luminance
0.8835

Every format

HEX#f7f95f
RGBrgb(247, 249, 95)
HSLhsl(61, 93%, 68%)
CMYKcmyk(1%, 0%, 62%, 2%)
LABlab(95.3 -19.2 71.2)
LCHlch(95.3 73.7 105.1)
OKLCHoklch(0.953 0.172 110.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f7f95f on white: 1.12:1
AA ✗ fail · AA-large · AAA
Aa
#f7f95f on black: 18.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.9%
Green97.6%
Blue37.3%

CMYK percentages

Cyan0.8%
Magenta0.0%
Yellow61.8%
Key (black)2.4%

Color previews

#f7f95f text on a black background

contrast 18.67:1

Card sample

#f7f95f text on a white background

contrast 1.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f7f95f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f7f95f in the Color Lab