Skip to content

#fffd99

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

RGB
255, 253, 153
HSL
59°, 100%, 80%
CMYK
0, 1, 40, 0
Luminance
0.9381

Every format

HEX#fffd99
RGBrgb(255, 253, 153)
HSLhsl(59, 100%, 80%)
CMYKcmyk(0%, 1%, 40%, 0%)
LABlab(97.6 -13.3 48.0)
LCHlch(97.6 49.8 105.4)
OKLCHoklch(0.974 0.122 107.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fffd99 on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#fffd99 on black: 19.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green99.2%
Blue60.0%

CMYK percentages

Cyan0.0%
Magenta0.8%
Yellow40.0%
Key (black)0.0%

Color previews

#fffd99 text on a black background

contrast 19.76:1

Card sample

#fffd99 text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fffd99

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fffd99 in the Color Lab