Skip to content

#ffe2af

a light, electric orange · warm · closest name: tan

RGB
255, 226, 175
HSL
38°, 100%, 84%
CMYK
0, 11, 31, 0
Luminance
0.7875

Every format

HEX#ffe2af
RGBrgb(255, 226, 175)
HSLhsl(38, 100%, 84%)
CMYKcmyk(0%, 11%, 31%, 0%)
LABlab(91.1 2.7 28.6)
LCHlch(91.1 28.8 84.6)
OKLCHoklch(0.924 0.073 81.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green88.6%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta11.4%
Yellow31.4%
Key (black)0.0%

Color previews

#ffe2af text on a black background

contrast 16.75:1

Card sample

#ffe2af text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffe2af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffe2af in the Color Lab