Skip to content

#faf0c3

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

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

Every format

HEX#faf0c3
RGBrgb(250, 240, 195)
HSLhsl(49, 85%, 87%)
CMYKcmyk(0%, 4%, 22%, 2%)
LABlab(94.6 -3.6 23.0)
LCHlch(94.6 23.3 98.9)
OKLCHoklch(0.952 0.059 96.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#faf0c3 text on a black background

contrast 18.32:1

Card sample

#faf0c3 text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #faf0c3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #faf0c3 in the Color Lab