Skip to content

#f6cd64

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

RGB
246, 205, 100
HSL
43°, 89%, 68%
CMYK
0, 17, 59, 4
Luminance
0.6418

Every format

HEX#f6cd64
RGBrgb(246, 205, 100)
HSLhsl(43, 89%, 68%)
CMYKcmyk(0%, 17%, 59%, 4%)
LABlab(84.1 2.7 56.6)
LCHlch(84.1 56.7 87.3)
OKLCHoklch(0.864 0.131 88.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f6cd64 on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#f6cd64 on black: 13.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red96.5%
Green80.4%
Blue39.2%

CMYK percentages

Cyan0.0%
Magenta16.7%
Yellow59.3%
Key (black)3.5%

Color previews

#f6cd64 text on a black background

contrast 13.84:1

Card sample

#f6cd64 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(246, 205, 100, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(246, 205, 100, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f6cd64;
background: linear-gradient(135deg, #f6cd64, #BDF664);

Monochromatic scale

Palettes built from #f6cd64

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f6cd64 in the Color Lab