Skip to content

#cfd2af

a light, soft yellow · cool · closest name: beige

RGB
207, 210, 175
HSL
65°, 28%, 76%
CMYK
1, 0, 17, 18
Luminance
0.6245

Every format

HEX#cfd2af
RGBrgb(207, 210, 175)
HSLhsl(65, 28%, 76%)
CMYKcmyk(1%, 0%, 17%, 18%)
LABlab(83.2 -6.9 17.0)
LCHlch(83.2 18.4 112.2)
OKLCHoklch(0.852 0.047 111.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfd2af on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#cfd2af on black: 13.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green82.4%
Blue68.6%

CMYK percentages

Cyan1.4%
Magenta0.0%
Yellow16.7%
Key (black)17.6%

Color previews

#cfd2af text on a black background

contrast 13.49:1

Card sample

#cfd2af text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfd2af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfd2af in the Color Lab