Skip to content

#ffc214

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

RGB
255, 194, 20
HSL
44°, 100%, 54%
CMYK
0, 24, 92, 0
Luminance
0.5989

Every format

HEX#ffc214
RGBrgb(255, 194, 20)
HSLhsl(44, 100%, 54%)
CMYKcmyk(0%, 24%, 92%, 0%)
LABlab(81.8 9.0 81.4)
LCHlch(81.8 81.9 83.7)
OKLCHoklch(0.846 0.171 85.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffc214 on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#ffc214 on black: 12.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green76.1%
Blue7.8%

CMYK percentages

Cyan0.0%
Magenta23.9%
Yellow92.2%
Key (black)0.0%

Color previews

#ffc214 text on a black background

contrast 12.98:1

Card sample

#ffc214 text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffc214

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffc214 in the Color Lab