Skip to content

#ffffcb

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

RGB
255, 255, 203
HSL
60°, 100%, 90%
CMYK
0, 0, 20, 0
Luminance
0.9709

Every format

HEX#ffffcb
RGBrgb(255, 255, 203)
HSLhsl(60, 100%, 90%)
CMYKcmyk(0%, 0%, 20%, 0%)
LABlab(98.9 -8.2 24.9)
LCHlch(98.9 26.2 108.2)
OKLCHoklch(0.987 0.067 107.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green100.0%
Blue79.6%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow20.4%
Key (black)0.0%

Color previews

#ffffcb text on a black background

contrast 20.42:1

Card sample

#ffffcb text on a white background

contrast 1.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffffcb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffffcb in the Color Lab