Skip to content

#f6df45

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

RGB
246, 223, 69
HSL
52°, 91%, 62%
CMYK
0, 9, 72, 4
Luminance
0.7280

Every format

HEX#f6df45
RGBrgb(246, 223, 69)
HSLhsl(52, 91%, 62%)
CMYKcmyk(0%, 9%, 72%, 4%)
LABlab(88.3 -8.2 73.9)
LCHlch(88.3 74.3 96.3)
OKLCHoklch(0.897 0.166 100.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f6df45 on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#f6df45 on black: 15.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.5%
Green87.5%
Blue27.1%

CMYK percentages

Cyan0.0%
Magenta9.3%
Yellow72.0%
Key (black)3.5%

Color previews

#f6df45 text on a black background

contrast 15.56:1

Card sample

#f6df45 text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(246, 223, 69, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(246, 223, 69, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f6df45;
background: linear-gradient(135deg, #f6df45, #97F645);

Monochromatic scale

Palettes built from #f6df45

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f6df45 in the Color Lab