Skip to content

#fffeac

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

RGB
255, 254, 172
HSL
59°, 100%, 84%
CMYK
0, 0, 33, 0
Luminance
0.9512

Every format

HEX#fffeac
RGBrgb(255, 254, 172)
HSLhsl(59, 100%, 84%)
CMYKcmyk(0%, 0%, 33%, 0%)
LABlab(98.1 -11.7 39.4)
LCHlch(98.1 41.1 106.5)
OKLCHoklch(0.979 0.102 107.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fffeac on white: 1.05:1
AA ✗ fail · AA-large · AAA
Aa
#fffeac on black: 20.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green99.6%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta0.4%
Yellow32.5%
Key (black)0.0%

Color previews

#fffeac text on a black background

contrast 20.02:1

Card sample

#fffeac text on a white background

contrast 1.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffeac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffeac in the Color Lab