Skip to content

#ccc7aa

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

RGB
204, 199, 170
HSL
51°, 25%, 73%
CMYK
0, 3, 17, 20
Luminance
0.5659

At a glance

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

Hex
#ccc7aa
Hue
51°
yellow
Saturation
25%
soft
Lightness
73%
light
Brightness
80%
HSV value
Perceived
77%
weighted brightness
Luminance
0.5659
WCAG relative
Temperature
Warm
27/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
12.32:1
Closest name
Wheat
ΔE2000 9.4
Where it sits
Hue51° of 360°
Saturation25%
Lightness73%
Temperature
Warm ← → Cool27% 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#ccc7aa
RGBrgb(204, 199, 170)
HSLhsl(51, 25%, 73%)
CMYKcmyk(0%, 3%, 17%, 20%)
LABlab(80.0 -3.1 15.2)
LCHlch(80.0 15.5 101.6)
OKLCHoklch(0.826 0.040 99.1)
Decimal13420458
Display P3color(display-p3 0.800 0.780 0.667)

Copy-ready code

/* CSS */
color: #ccc7aa;
background-color: #ccc7aa;
/* Tailwind (arbitrary) */
class="text-[#ccc7aa] bg-[#ccc7aa]"
/* SCSS */
$brand: #ccc7aa;
/* SwiftUI */
Color(red: 0.800, green: 0.780, blue: 0.667)
/* Android */
Color.parseColor("#ccc7aa")
/* Flutter */
Color(0xFFCCC7AA)
/* Python / OpenCV (BGR) */
(170, 199, 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 #ccc7aa · 12.32:1
Use #000000AAA at every size.
Aa
White text · 1.70:1
AA fail · AA large fail · AAA fail
Aa
Black text · 12.32:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ccc7aa as text scores 1.70:1 on white and 12.32:1 on black.

Accessibility — WCAG contrast

Aa
#ccc7aa on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#ccc7aa on black: 12.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CDC5A8
deuteranopia · #CFC7AB
tritanopia · #D2C3BF

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ccc7aa 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
#F3F2ED
#E5E3D7
#ccc7aa
#C0BA96
#ABA373
#99905C
#80784D
#66603D
#4B472F
#2F2C1D
Base = 300Lightest = 50 · #F9F8F6Darkest = 950 · #2F2C1D
:root {
  --brand-50: #F9F8F6;
  --brand-100: #F3F2ED;
  --brand-200: #E5E3D7;
  --brand-300: #ccc7aa;
  --brand-400: #C0BA96;
  --brand-500: #ABA373;
  --brand-600: #99905C;
  --brand-700: #80784D;
  --brand-800: #66603D;
  --brand-900: #4B472F;
  --brand-950: #2F2C1D;
  --brand: #ccc7aa;
  --brand-ink: #000000;
}

Colors that work with #ccc7aa

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#F9F9F5
Tinted page background
Border#E0DDCC
Hairlines and dividers
Muted text#8F8756
Captions on the surface
Accent#486084
Second voice, not a rival
Dark variant#504B30
Hover, pressed, headers
Light variant#F5F5EF
Selected rows, tints
Dark surface#232115
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 #ccc7aa

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#AAAFCC
Analogous left#CCB6AA
Analogous right#C0CCAA
Split-complement 1#AAC0CC
Split-complement 2#B6AACC
Triadic 1#AACCC7
Triadic 2#C7AACC
Tetradic#AACCB6

RGB percentages

Red80.0%
Green78.0%
Blue66.7%

CMYK percentages

Cyan0.0%
Magenta2.5%
Yellow16.7%
Key (black)20.0%

Color previews

#ccc7aa text on a black background

contrast 12.32:1

Card sample

#ccc7aa text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc7aa

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.

#ccc7aa 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.

#ccc7aa, answered

What color is #ccc7aa?

#ccc7aa is a light soft yellow, closest to Wheat (ΔE2000 9.4). It sits at 51° on the hue wheel with 25% saturation and 73% lightness, which reads as warm.

What is the RGB value of #ccc7aa?

rgb(204, 199, 170) — 204 red, 199 green and 170 blue out of 255, or 80% / 78% / 66.7% by channel.

Is #ccc7aa a light or a dark color?

It is a light color. Relative luminance is 0.5659 and perceived brightness is 77%, so black text on it reaches 12.32:1.

Should I use black or white text on #ccc7aa?

Black. It scores 12.32:1 against #ccc7aa, versus 1.70:1 for white — AAA at any size.

What is the complementary color of #ccc7aa?

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

What colors go well with #ccc7aa?

For interface work: #F9F9F5 as the surface, #E0DDCC for borders, #8F8756 for secondary text, #486084 as an accent and #504B30 for hover and pressed states. For a palette, the analogous pair #CCB6AA and #C0CCAA stays calm, while #AAAFCC is the loudest partner.

What is #ccc7aa in CMYK for printing?

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

Is #ccc7aa warm or cool?

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

Work with #ccc7aa in the Color Lab