Skip to content

#ffd26f

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

RGB
255, 210, 111
HSL
41°, 100%, 72%
CMYK
0, 18, 57, 0
Luminance
0.6850

Every format

HEX#ffd26f
RGBrgb(255, 210, 111)
HSLhsl(41, 100%, 72%)
CMYKcmyk(0%, 18%, 57%, 0%)
LABlab(86.3 4.6 54.3)
LCHlch(86.3 54.5 85.2)
OKLCHoklch(0.883 0.128 85.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffd26f on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#ffd26f on black: 14.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green82.4%
Blue43.5%

CMYK percentages

Cyan0.0%
Magenta17.6%
Yellow56.5%
Key (black)0.0%

Color previews

#ffd26f text on a black background

contrast 14.70:1

Card sample

#ffd26f text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffd26f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffd26f in the Color Lab