Skip to content

#ffffcf

a pale, electric yellow · cool · closest name: beige

RGB
255, 255, 207
HSL
60°, 100%, 91%
CMYK
0, 0, 19, 0
Luminance
0.9728

Every format

HEX#ffffcf
RGBrgb(255, 255, 207)
HSLhsl(60, 100%, 91%)
CMYKcmyk(0%, 0%, 19%, 0%)
LABlab(98.9 -7.6 23.0)
LCHlch(98.9 24.2 108.3)
OKLCHoklch(0.988 0.062 107.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffffcf on white: 1.03:1
AA ✗ fail · AA-large · AAA
Aa
#ffffcf on black: 20.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green100.0%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow18.8%
Key (black)0.0%

Color previews

#ffffcf text on a black background

contrast 20.46:1

Card sample

#ffffcf text on a white background

contrast 1.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffffcf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffffcf in the Color Lab