Skip to content

#ffe3a3

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

RGB
255, 227, 163
HSL
42°, 100%, 82%
CMYK
0, 11, 36, 0
Luminance
0.7884

Every format

HEX#ffe3a3
RGBrgb(255, 227, 163)
HSLhsl(42, 100%, 82%)
CMYKcmyk(0%, 11%, 36%, 0%)
LABlab(91.2 0.8 34.8)
LCHlch(91.2 34.8 88.7)
OKLCHoklch(0.924 0.087 87.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffe3a3 on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#ffe3a3 on black: 16.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green89.0%
Blue63.9%

CMYK percentages

Cyan0.0%
Magenta11.0%
Yellow36.1%
Key (black)0.0%

Color previews

#ffe3a3 text on a black background

contrast 16.77:1

Card sample

#ffe3a3 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffe3a3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffe3a3 in the Color Lab