Skip to content

#ccc2a7

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

RGB
204, 194, 167
HSL
44°, 27%, 73%
CMYK
0, 5, 18, 20
Luminance
0.5421

At a glance

Every number on this page in one read: what #ccc2a7 is made of, how bright it looks, and which way it leans.

Hex
#ccc2a7
Hue
44°
yellow
Saturation
27%
soft
Lightness
73%
light
Brightness
80%
HSV value
Perceived
76%
weighted brightness
Luminance
0.5421
WCAG relative
Temperature
Warm
21/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
11.84:1
Closest name
Tan
ΔE2000 8.2
Where it sits
Hue44° of 360°
Saturation27%
Lightness73%
Temperature
Warm ← → Cool21% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#ccc2a7
RGBrgb(204, 194, 167)
HSLhsl(44, 27%, 73%)
CMYKcmyk(0%, 5%, 18%, 20%)
LABlab(78.6 -0.9 14.9)
LCHlch(78.6 14.9 93.7)
OKLCHoklch(0.815 0.038 90.1)
Decimal13419175
Display P3color(display-p3 0.800 0.761 0.655)

Copy-ready code

/* CSS */
color: #ccc2a7;
background-color: #ccc2a7;
/* Tailwind (arbitrary) */
class="text-[#ccc2a7] bg-[#ccc2a7]"
/* SCSS */
$brand: #ccc2a7;
/* SwiftUI */
Color(red: 0.800, green: 0.761, blue: 0.655)
/* Android */
Color.parseColor("#ccc2a7")
/* Flutter */
Color(0xFFCCC2A7)
/* Python / OpenCV (BGR) */
(167, 194, 204)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #ccc2a7 · 11.84:1
Use #000000AAA at every size.
Aa
White text · 1.77:1
AA fail · AA large fail · AAA fail
Aa
Black text · 11.84:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ccc2a7 as text scores 1.77:1 on white and 11.84:1 on black.

Accessibility — WCAG contrast

Aa
#ccc2a7 on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#ccc2a7 on black: 11.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C8C1A5
deuteranopia · #CBC4A8
tritanopia · #D2BDBA

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ccc2a7 is pinned to step 300; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F9F8F6
#F3F1ED
#E6E1D6
#ccc2a7
#C1B594
#AD9D71
#9B895A
#81724B
#675C3C
#4C442E
#302B1D
Base = 300Lightest = 50 · #F9F8F6Darkest = 950 · #302B1D
:root {
  --brand-50: #F9F8F6;
  --brand-100: #F3F1ED;
  --brand-200: #E6E1D6;
  --brand-300: #ccc2a7;
  --brand-400: #C1B594;
  --brand-500: #AD9D71;
  --brand-600: #9B895A;
  --brand-700: #81724B;
  --brand-800: #675C3C;
  --brand-900: #4C442E;
  --brand-950: #302B1D;
  --brand: #ccc2a7;
  --brand-ink: #000000;
}

Colors that work with #ccc2a7

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F9F8F5
Tinted page background
Border#E1DBCB
Hairlines and dividers
Muted text#918154
Captions on the surface
Accent#466786
Second voice, not a rival
Dark variant#51482F
Hover, pressed, headers
Light variant#F6F4EF
Selected rows, tints
Dark surface#241F15
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #ccc2a7

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • White text placed on it
  • Thin strokes and 1px borders — they disappear on light UI
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#A7B1CC
Analogous left#CCAFA7
Analogous right#C3CCA7
Split-complement 1#A7C3CC
Split-complement 2#AFA7CC
Triadic 1#A7CCC2
Triadic 2#C2A7CC
Tetradic#A7CCAF

RGB percentages

Red80.0%
Green76.1%
Blue65.5%

CMYK percentages

Cyan0.0%
Magenta4.9%
Yellow18.1%
Key (black)20.0%

Color previews

#ccc2a7 text on a black background

contrast 11.84:1

Card sample

#ccc2a7 text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc2a7

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#ccc2a7 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
RetailLeisureEnergyWarning systems
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#ccc2a7, answered

What color is #ccc2a7?

#ccc2a7 is a light soft yellow, closest to Tan (ΔE2000 8.2). It sits at 44° on the hue wheel with 27% saturation and 73% lightness, which reads as warm.

What is the RGB value of #ccc2a7?

rgb(204, 194, 167) — 204 red, 194 green and 167 blue out of 255, or 80% / 76.1% / 65.5% by channel.

Is #ccc2a7 a light or a dark color?

It is a light color. Relative luminance is 0.5421 and perceived brightness is 76%, so black text on it reaches 11.84:1.

Should I use black or white text on #ccc2a7?

Black. It scores 11.84:1 against #ccc2a7, versus 1.77:1 for white — AAA at any size.

What is the complementary color of #ccc2a7?

#A7B1CC sits directly opposite on the wheel. Softer options are the split-complements #A7C3CC and #AFA7CC, which give the same contrast with far less vibration.

What colors go well with #ccc2a7?

For interface work: #F9F8F5 as the surface, #E1DBCB for borders, #918154 for secondary text, #466786 as an accent and #51482F for hover and pressed states. For a palette, the analogous pair #CCAFA7 and #C3CCA7 stays calm, while #A7B1CC is the loudest partner.

What is #ccc2a7 in CMYK for printing?

cmyk(0%, 5%, 18%, 20%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #ccc2a7 warm or cool?

Warm — it scores 21 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CCB8A7; nudged cooler, #C9CDA5.

Work with #ccc2a7 in the Color Lab