Skip to content

#ffcc3f

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

RGB
255, 204, 63
HSL
44°, 100%, 62%
CMYK
0, 20, 75, 0
Luminance
0.6480

Every format

HEX#ffcc3f
RGBrgb(255, 204, 63)
HSLhsl(44, 100%, 62%)
CMYKcmyk(0%, 20%, 75%, 0%)
LABlab(84.4 4.9 72.5)
LCHlch(84.4 72.7 86.1)
OKLCHoklch(0.867 0.159 87.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffcc3f on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#ffcc3f on black: 13.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green80.0%
Blue24.7%

CMYK percentages

Cyan0.0%
Magenta20.0%
Yellow75.3%
Key (black)0.0%

Color previews

#ffcc3f text on a black background

contrast 13.96:1

Card sample

#ffcc3f text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffcc3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffcc3f in the Color Lab