Skip to content

#cfcf93

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

RGB
207, 207, 147
HSL
60°, 39%, 69%
CMYK
0, 0, 29, 19
Luminance
0.6000

Every format

HEX#cfcf93
RGBrgb(207, 207, 147)
HSLhsl(60, 39%, 69%)
CMYKcmyk(0%, 0%, 29%, 19%)
LABlab(81.8 -9.4 29.9)
LCHlch(81.8 31.4 107.4)
OKLCHoklch(0.840 0.079 108.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfcf93 on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#cfcf93 on black: 13.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green81.2%
Blue57.6%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow29.0%
Key (black)18.8%

Color previews

#cfcf93 text on a black background

contrast 13.00:1

Card sample

#cfcf93 text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfcf93

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfcf93 in the Color Lab