Skip to content

#ffce2d

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

RGB
255, 206, 45
HSL
46°, 100%, 59%
CMYK
0, 19, 82, 0
Luminance
0.6559

Every format

HEX#ffce2d
RGBrgb(255, 206, 45)
HSLhsl(46, 100%, 59%)
CMYKcmyk(0%, 19%, 82%, 0%)
LABlab(84.8 3.3 78.5)
LCHlch(84.8 78.5 87.6)
OKLCHoklch(0.870 0.168 90.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffce2d on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#ffce2d on black: 14.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green80.8%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta19.2%
Yellow82.4%
Key (black)0.0%

Color previews

#ffce2d text on a black background

contrast 14.12:1

Card sample

#ffce2d text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffce2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffce2d in the Color Lab