Skip to content

#fdf265

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

RGB
253, 242, 101
HSL
56°, 97%, 69%
CMYK
0, 4, 60, 1
Luminance
0.8533

Every format

HEX#fdf265
RGBrgb(253, 242, 101)
HSLhsl(56, 97%, 69%)
CMYKcmyk(0%, 4%, 60%, 1%)
LABlab(94.0 -13.0 67.5)
LCHlch(94.0 68.7 100.9)
OKLCHoklch(0.944 0.160 104.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green94.9%
Blue39.6%

CMYK percentages

Cyan0.0%
Magenta4.3%
Yellow60.1%
Key (black)0.8%

Color previews

#fdf265 text on a black background

contrast 18.07:1

Card sample

#fdf265 text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf265

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf265 in the Color Lab