Skip to content

#decfab

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

RGB
222, 207, 171
HSL
42°, 44%, 77%
CMYK
0, 7, 23, 13
Luminance
0.6310

Every format

HEX#decfab
RGBrgb(222, 207, 171)
HSLhsl(42, 44%, 77%)
CMYKcmyk(0%, 7%, 23%, 13%)
LABlab(83.5 -0.4 19.8)
LCHlch(83.5 19.8 91.3)
OKLCHoklch(0.858 0.051 88.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red87.1%
Green81.2%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta6.8%
Yellow23.0%
Key (black)12.9%

Color previews

#decfab text on a black background

contrast 13.62:1

Card sample

#decfab text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #decfab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #decfab in the Color Lab