Skip to content

#fff25f

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

RGB
255, 242, 95
HSL
55°, 100%, 69%
CMYK
0, 5, 63, 0
Luminance
0.8559

Every format

HEX#fff25f
RGBrgb(255, 242, 95)
HSLhsl(55, 100%, 69%)
CMYKcmyk(0%, 5%, 63%, 0%)
LABlab(94.1 -12.6 70.1)
LCHlch(94.1 71.2 100.2)
OKLCHoklch(0.945 0.164 104.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green94.9%
Blue37.3%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow62.7%
Key (black)0.0%

Color previews

#fff25f text on a black background

contrast 18.12:1

Card sample

#fff25f text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff25f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff25f in the Color Lab