Skip to content

#fdf095

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

RGB
253, 240, 149
HSL
53°, 96%, 79%
CMYK
0, 5, 41, 1
Luminance
0.8537

Every format

HEX#fdf095
RGBrgb(253, 240, 149)
HSLhsl(53, 96%, 79%)
CMYKcmyk(0%, 5%, 41%, 1%)
LABlab(94.0 -8.0 45.5)
LCHlch(94.0 46.2 100.0)
OKLCHoklch(0.946 0.113 101.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green94.1%
Blue58.4%

CMYK percentages

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

Color previews

#fdf095 text on a black background

contrast 18.07:1

Card sample

#fdf095 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf095

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf095 in the Color Lab