Skip to content

#faf0c2

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

RGB
250, 240, 194
HSL
49°, 85%, 87%
CMYK
0, 4, 22, 2
Luminance
0.8654

Every format

HEX#faf0c2
RGBrgb(250, 240, 194)
HSLhsl(49, 85%, 87%)
CMYKcmyk(0%, 4%, 22%, 2%)
LABlab(94.5 -3.8 23.5)
LCHlch(94.5 23.8 99.1)
OKLCHoklch(0.952 0.060 97.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#faf0c2 on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#faf0c2 on black: 18.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.0%
Green94.1%
Blue76.1%

CMYK percentages

Cyan0.0%
Magenta4.0%
Yellow22.4%
Key (black)2.0%

Color previews

#faf0c2 text on a black background

contrast 18.31:1

Card sample

#faf0c2 text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(250, 240, 194, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(250, 240, 194, 0.45);
Border & gradient
Gradient panel
border: 3px solid #faf0c2;
background: linear-gradient(135deg, #faf0c2, #DFFAC2);

Monochromatic scale

Palettes built from #faf0c2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faf0c2 in the Color Lab