Skip to content

#ffe17b

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

RGB
255, 225, 123
HSL
46°, 100%, 74%
CMYK
0, 12, 52, 0
Luminance
0.7654

Every format

HEX#ffe17b
RGBrgb(255, 225, 123)
HSLhsl(46, 100%, 74%)
CMYKcmyk(0%, 12%, 52%, 0%)
LABlab(90.1 -2.1 53.2)
LCHlch(90.1 53.2 92.3)
OKLCHoklch(0.914 0.126 93.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffe17b on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#ffe17b on black: 16.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green88.2%
Blue48.2%

CMYK percentages

Cyan0.0%
Magenta11.8%
Yellow51.8%
Key (black)0.0%

Color previews

#ffe17b text on a black background

contrast 16.31:1

Card sample

#ffe17b text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffe17b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffe17b in the Color Lab