Skip to content

#ffeeaa

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

RGB
255, 238, 170
HSL
48°, 100%, 83%
CMYK
0, 7, 33, 0
Luminance
0.8531

Every format

HEX#ffeeaa
RGBrgb(255, 238, 170)
HSLhsl(48, 100%, 83%)
CMYKcmyk(0%, 7%, 33%, 0%)
LABlab(94.0 -4.0 35.0)
LCHlch(94.0 35.3 96.4)
OKLCHoklch(0.947 0.088 95.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffeeaa on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#ffeeaa on black: 18.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green93.3%
Blue66.7%

CMYK percentages

Cyan0.0%
Magenta6.7%
Yellow33.3%
Key (black)0.0%

Color previews

#ffeeaa text on a black background

contrast 18.06:1

Card sample

#ffeeaa text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffeeaa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffeeaa in the Color Lab