Skip to content

#ffd657

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

RGB
255, 214, 87
HSL
45°, 100%, 67%
CMYK
0, 16, 66, 0
Luminance
0.7004

Every format

HEX#ffd657
RGBrgb(255, 214, 87)
HSLhsl(45, 100%, 67%)
CMYKcmyk(0%, 16%, 66%, 0%)
LABlab(87.0 1.0 65.8)
LCHlch(87.0 65.9 89.2)
OKLCHoklch(0.888 0.149 91.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffd657 on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#ffd657 on black: 15.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green83.9%
Blue34.1%

CMYK percentages

Cyan0.0%
Magenta16.1%
Yellow65.9%
Key (black)0.0%

Color previews

#ffd657 text on a black background

contrast 15.01:1

Card sample

#ffd657 text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffd657

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffd657 in the Color Lab