Skip to content

#f7ff4b

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

RGB
247, 255, 75
HSL
63°, 100%, 65%
CMYK
3, 0, 71, 0
Luminance
0.9180

Every format

HEX#f7ff4b
RGBrgb(247, 255, 75)
HSLhsl(63, 100%, 65%)
CMYKcmyk(3%, 0%, 71%, 0%)
LABlab(96.7 -23.1 79.9)
LCHlch(96.7 83.2 106.1)
OKLCHoklch(0.964 0.191 112.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red96.9%
Green100.0%
Blue29.4%

CMYK percentages

Cyan3.1%
Magenta0.0%
Yellow70.6%
Key (black)0.0%

Color previews

#f7ff4b text on a black background

contrast 19.36:1

Card sample

#f7ff4b text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f7ff4b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f7ff4b in the Color Lab