Skip to content

#ffc800

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

RGB
255, 200, 0
HSL
47°, 100%, 50%
CMYK
0, 22, 100, 0
Luminance
0.6257

Every format

HEX#ffc800
RGBrgb(255, 200, 0)
HSLhsl(47, 100%, 50%)
CMYKcmyk(0%, 22%, 100%, 0%)
LABlab(83.2 5.7 84.5)
LCHlch(83.2 84.7 86.1)
OKLCHoklch(0.858 0.175 88.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffc800 on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#ffc800 on black: 13.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green78.4%
Blue0.0%

CMYK percentages

Cyan0.0%
Magenta21.6%
Yellow100.0%
Key (black)0.0%

Color previews

#ffc800 text on a black background

contrast 13.51:1

Card sample

#ffc800 text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffc800

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffc800 in the Color Lab