Skip to content

#ffffc7

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

RGB
255, 255, 199
HSL
60°, 100%, 89%
CMYK
0, 0, 22, 0
Luminance
0.9690

Every format

HEX#ffffc7
RGBrgb(255, 255, 199)
HSLhsl(60, 100%, 89%)
CMYKcmyk(0%, 0%, 22%, 0%)
LABlab(98.8 -8.7 26.9)
LCHlch(98.8 28.2 108.0)
OKLCHoklch(0.987 0.072 107.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green100.0%
Blue78.0%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow22.0%
Key (black)0.0%

Color previews

#ffffc7 text on a black background

contrast 20.38:1

Card sample

#ffffc7 text on a white background

contrast 1.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffffc7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffffc7 in the Color Lab