Skip to content

#decfaf

a light, soft yellow · warm · closest name: tan

RGB
222, 207, 175
HSL
41°, 42%, 78%
CMYK
0, 7, 21, 13
Luminance
0.6325

Every format

HEX#decfaf
RGBrgb(222, 207, 175)
HSLhsl(41, 42%, 78%)
CMYKcmyk(0%, 7%, 21%, 13%)
LABlab(83.6 0.1 17.8)
LCHlch(83.6 17.8 89.6)
OKLCHoklch(0.859 0.046 85.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#decfaf on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#decfaf on black: 13.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green81.2%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta6.8%
Yellow21.2%
Key (black)12.9%

Color previews

#decfaf text on a black background

contrast 13.65:1

Card sample

#decfaf text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #decfaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #decfaf in the Color Lab