Skip to content

#f7cd30

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

RGB
247, 205, 48
HSL
47°, 93%, 58%
CMYK
0, 17, 81, 3
Luminance
0.6365

Every format

HEX#f7cd30
RGBrgb(247, 205, 48)
HSLhsl(47, 93%, 58%)
CMYKcmyk(0%, 17%, 81%, 3%)
LABlab(83.8 0.5 76.5)
LCHlch(83.8 76.5 89.6)
OKLCHoklch(0.861 0.165 92.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f7cd30 on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#f7cd30 on black: 13.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.9%
Green80.4%
Blue18.8%

CMYK percentages

Cyan0.0%
Magenta17.0%
Yellow80.6%
Key (black)3.1%

Color previews

#f7cd30 text on a black background

contrast 13.73:1

Card sample

#f7cd30 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(247, 205, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(247, 205, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f7cd30;
background: linear-gradient(135deg, #f7cd30, #9CF730);

Monochromatic scale

Palettes built from #f7cd30

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f7cd30 in the Color Lab