Skip to content

#ffd973

a light, electric yellow · warm · closest name: khaki

RGB
255, 217, 115
HSL
44°, 100%, 73%
CMYK
0, 15, 55, 0
Luminance
0.7212

Every format

HEX#ffd973
RGBrgb(255, 217, 115)
HSLhsl(44, 100%, 73%)
CMYKcmyk(0%, 15%, 55%, 0%)
LABlab(88.0 1.3 54.5)
LCHlch(88.0 54.5 88.6)
OKLCHoklch(0.897 0.128 89.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffd973 on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#ffd973 on black: 15.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green85.1%
Blue45.1%

CMYK percentages

Cyan0.0%
Magenta14.9%
Yellow54.9%
Key (black)0.0%

Color previews

#ffd973 text on a black background

contrast 15.42:1

Card sample

#ffd973 text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffd973

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffd973 in the Color Lab