Skip to content

#f7fd8c

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

RGB
247, 253, 140
HSL
63°, 97%, 77%
CMYK
2, 0, 45, 1
Luminance
0.9192

Every format

HEX#f7fd8c
RGBrgb(247, 253, 140)
HSLhsl(63, 97%, 77%)
CMYKcmyk(2%, 0%, 45%, 1%)
LABlab(96.8 -17.6 53.1)
LCHlch(96.8 56.0 108.3)
OKLCHoklch(0.966 0.137 111.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red96.9%
Green99.2%
Blue54.9%

CMYK percentages

Cyan2.4%
Magenta0.0%
Yellow44.7%
Key (black)0.8%

Color previews

#f7fd8c text on a black background

contrast 19.38:1

Card sample

#f7fd8c text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(247, 253, 140, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(247, 253, 140, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f7fd8c;
background: linear-gradient(135deg, #f7fd8c, #ACFD8C);

Monochromatic scale

Palettes built from #f7fd8c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f7fd8c in the Color Lab