Skip to content

#fff26d

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

RGB
255, 242, 109
HSL
55°, 100%, 71%
CMYK
0, 5, 57, 0
Luminance
0.8587

Every format

HEX#fff26d
RGBrgb(255, 242, 109)
HSLhsl(55, 100%, 71%)
CMYKcmyk(0%, 5%, 57%, 0%)
LABlab(94.3 -11.7 64.4)
LCHlch(94.3 65.4 100.3)
OKLCHoklch(0.947 0.153 103.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green94.9%
Blue42.7%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow57.3%
Key (black)0.0%

Color previews

#fff26d text on a black background

contrast 18.17:1

Card sample

#fff26d text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff26d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff26d in the Color Lab