Skip to content

#fdf099

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

RGB
253, 240, 153
HSL
52°, 96%, 80%
CMYK
0, 5, 40, 1
Luminance
0.8550

Every format

HEX#fdf099
RGBrgb(253, 240, 153)
HSLhsl(52, 96%, 80%)
CMYKcmyk(0%, 5%, 40%, 1%)
LABlab(94.1 -7.6 43.6)
LCHlch(94.1 44.3 99.9)
OKLCHoklch(0.947 0.108 100.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green94.1%
Blue60.0%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow39.5%
Key (black)0.8%

Color previews

#fdf099 text on a black background

contrast 18.10:1

Card sample

#fdf099 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf099

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf099 in the Color Lab