Skip to content

#ffc933

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

RGB
255, 201, 51
HSL
44°, 100%, 60%
CMYK
0, 21, 80, 0
Luminance
0.6327

Every format

HEX#ffc933
RGBrgb(255, 201, 51)
HSLhsl(44, 100%, 60%)
CMYKcmyk(0%, 21%, 80%, 0%)
LABlab(83.6 6.1 75.7)
LCHlch(83.6 75.9 85.4)
OKLCHoklch(0.861 0.163 87.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffc933 on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#ffc933 on black: 13.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green78.8%
Blue20.0%

CMYK percentages

Cyan0.0%
Magenta21.2%
Yellow80.0%
Key (black)0.0%

Color previews

#ffc933 text on a black background

contrast 13.65:1

Card sample

#ffc933 text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffc933

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffc933 in the Color Lab