Skip to content

#fccc45

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

RGB
252, 204, 69
HSL
44°, 97%, 63%
CMYK
0, 19, 73, 1
Luminance
0.6431

Every format

HEX#fccc45
RGBrgb(252, 204, 69)
HSLhsl(44, 97%, 63%)
CMYKcmyk(0%, 19%, 73%, 1%)
LABlab(84.1 3.9 70.0)
LCHlch(84.1 70.1 86.8)
OKLCHoklch(0.865 0.155 88.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fccc45 on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#fccc45 on black: 13.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green80.0%
Blue27.1%

CMYK percentages

Cyan0.0%
Magenta19.0%
Yellow72.6%
Key (black)1.2%

Color previews

#fccc45 text on a black background

contrast 13.86:1

Card sample

#fccc45 text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(252, 204, 69, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(252, 204, 69, 0.45);
Border & gradient
Gradient panel
border: 3px solid #fccc45;
background: linear-gradient(135deg, #fccc45, #B2FC45);

Monochromatic scale

Palettes built from #fccc45

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fccc45 in the Color Lab