Skip to content

#fdf090

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

RGB
253, 240, 144
HSL
53°, 97%, 78%
CMYK
0, 5, 43, 1
Luminance
0.8522

Every format

HEX#fdf090
RGBrgb(253, 240, 144)
HSLhsl(53, 97%, 78%)
CMYKcmyk(0%, 5%, 43%, 1%)
LABlab(94.0 -8.5 47.8)
LCHlch(94.0 48.6 100.1)
OKLCHoklch(0.945 0.118 101.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green94.1%
Blue56.5%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow43.1%
Key (black)0.8%

Color previews

#fdf090 text on a black background

contrast 18.04:1

Card sample

#fdf090 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf090

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf090 in the Color Lab