Skip to content

#ccaf7f

a balanced, soft orange · warm · closest name: tan

RGB
204, 175, 127
HSL
37°, 43%, 65%
CMYK
0, 14, 38, 20
Luminance
0.4503

Every format

HEX#ccaf7f
RGBrgb(204, 175, 127)
HSLhsl(37, 43%, 65%)
CMYKcmyk(0%, 14%, 38%, 20%)
LABlab(72.9 3.7 28.5)
LCHlch(72.9 28.8 82.5)
OKLCHoklch(0.768 0.072 79.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccaf7f on white: 2.10:1
AA ✗ fail · AA-large · AAA
Aa
#ccaf7f on black: 10.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.0%
Green68.6%
Blue49.8%

CMYK percentages

Cyan0.0%
Magenta14.2%
Yellow37.7%
Key (black)20.0%

Color previews

#ccaf7f text on a black background

contrast 10.01:1

Card sample

#ccaf7f text on a white background

contrast 2.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccaf7f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ccaf7f in the Color Lab