Skip to content

#fffc89

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

RGB
255, 252, 137
HSL
59°, 100%, 77%
CMYK
0, 1, 46, 0
Luminance
0.9269

Every format

HEX#fffc89
RGBrgb(255, 252, 137)
HSLhsl(59, 100%, 77%)
CMYKcmyk(0%, 1%, 46%, 0%)
LABlab(97.1 -14.3 55.0)
LCHlch(97.1 56.9 104.6)
OKLCHoklch(0.970 0.138 107.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fffc89 on white: 1.07:1
AA ✗ fail · AA-large · AAA
Aa
#fffc89 on black: 19.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green98.8%
Blue53.7%

CMYK percentages

Cyan0.0%
Magenta1.2%
Yellow46.3%
Key (black)0.0%

Color previews

#fffc89 text on a black background

contrast 19.54:1

Card sample

#fffc89 text on a white background

contrast 1.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffc89

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffc89 in the Color Lab