Skip to content

#ccc8ac

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

RGB
204, 200, 172
HSL
53°, 24%, 74%
CMYK
0, 2, 16, 20
Luminance
0.5712

At a glance

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

Hex
#ccc8ac
Hue
53°
yellow
Saturation
24%
soft
Lightness
74%
light
Brightness
80%
HSV value
Perceived
78%
weighted brightness
Luminance
0.5712
WCAG relative
Temperature
Warm
29/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
12.42:1
Closest name
Wheat
ΔE2000 9.7
Where it sits
Hue53° of 360°
Saturation24%
Lightness74%
Temperature
Warm ← → Cool29% 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#ccc8ac
RGBrgb(204, 200, 172)
HSLhsl(53, 24%, 74%)
CMYKcmyk(0%, 2%, 16%, 20%)
LABlab(80.3 -3.3 14.5)
LCHlch(80.3 14.9 102.9)
OKLCHoklch(0.829 0.038 100.5)
Decimal13420716
Display P3color(display-p3 0.800 0.784 0.675)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc8ac on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#ccc8ac on black: 12.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CEC6AA
deuteranopia · #CFC8AD
tritanopia · #D1C4C0

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ccc8ac 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
#ccc8ac
#BFBA97
#AAA374
#98905D
#7E784E
#65603E
#4B4730
#2F2D1E
Base = 300Lightest = 50 · #F9F8F6Darkest = 950 · #2F2D1E
:root {
  --brand-50: #F9F8F6;
  --brand-100: #F3F2ED;
  --brand-200: #E5E3D7;
  --brand-300: #ccc8ac;
  --brand-400: #BFBA97;
  --brand-500: #AAA374;
  --brand-600: #98905D;
  --brand-700: #7E784E;
  --brand-800: #65603E;
  --brand-900: #4B4730;
  --brand-950: #2F2D1E;
  --brand: #ccc8ac;
  --brand-ink: #000000;
}

Colors that work with #ccc8ac

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#F9F9F6
Tinted page background
Border#E0DECC
Hairlines and dividers
Muted text#8E8757
Captions on the surface
Accent#495E83
Second voice, not a rival
Dark variant#4F4B31
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 #ccc8ac

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#ACB0CC
Analogous left#CCB8AC
Analogous right#C0CCAC
Split-complement 1#ACC0CC
Split-complement 2#B8ACCC
Triadic 1#ACCCC8
Triadic 2#C8ACCC
Tetradic#ACCCB8

RGB percentages

Red80.0%
Green78.4%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta2.0%
Yellow15.7%
Key (black)20.0%

Color previews

#ccc8ac text on a black background

contrast 12.42:1

Card sample

#ccc8ac text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ccc8ac

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.

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

#ccc8ac, answered

What color is #ccc8ac?

#ccc8ac is a light soft yellow, closest to Wheat (ΔE2000 9.7). It sits at 53° on the hue wheel with 24% saturation and 74% lightness, which reads as warm.

What is the RGB value of #ccc8ac?

rgb(204, 200, 172) — 204 red, 200 green and 172 blue out of 255, or 80% / 78.4% / 67.5% by channel.

Is #ccc8ac a light or a dark color?

It is a light color. Relative luminance is 0.5712 and perceived brightness is 78%, so black text on it reaches 12.42:1.

Should I use black or white text on #ccc8ac?

Black. It scores 12.42:1 against #ccc8ac, versus 1.69:1 for white — AAA at any size.

What is the complementary color of #ccc8ac?

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

What colors go well with #ccc8ac?

For interface work: #F9F9F6 as the surface, #E0DECC for borders, #8E8757 for secondary text, #495E83 as an accent and #4F4B31 for hover and pressed states. For a palette, the analogous pair #CCB8AC and #C0CCAC stays calm, while #ACB0CC is the loudest partner.

What is #ccc8ac in CMYK for printing?

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

Is #ccc8ac warm or cool?

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

Work with #ccc8ac in the Color Lab