Skip to content

#cccaaa

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

RGB
204, 202, 170
HSL
57°, 25%, 73%
CMYK
0, 1, 17, 20
Luminance
0.5798

At a glance

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

Hex
#cccaaa
Hue
57°
yellow
Saturation
25%
soft
Lightness
73%
light
Brightness
80%
HSV value
Perceived
78%
weighted brightness
Luminance
0.5798
WCAG relative
Temperature
Warm
30/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
12.60:1
Closest name
Wheat
ΔE2000 9.8
Where it sits
Hue57° of 360°
Saturation25%
Lightness73%
Temperature
Warm ← → Cool30% 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#cccaaa
RGBrgb(204, 202, 170)
HSLhsl(57, 25%, 73%)
CMYKcmyk(0%, 1%, 17%, 20%)
LABlab(80.7 -4.7 16.3)
LCHlch(80.7 16.9 106.0)
OKLCHoklch(0.832 0.043 104.4)
Decimal13421226
Display P3color(display-p3 0.800 0.792 0.667)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cccaaa on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#cccaaa on black: 12.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D0C7A8
deuteranopia · #D1C9AB
tritanopia · #D1C6C1

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cccaaa 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.

#F9F9F6
#F3F2ED
#E5E4D7
#cccaaa
#C0BD96
#ABA873
#99955C
#807D4D
#66643D
#4B4A2F
#2F2E1D
Base = 300Lightest = 50 · #F9F9F6Darkest = 950 · #2F2E1D
:root {
  --brand-50: #F9F9F6;
  --brand-100: #F3F2ED;
  --brand-200: #E5E4D7;
  --brand-300: #cccaaa;
  --brand-400: #C0BD96;
  --brand-500: #ABA873;
  --brand-600: #99955C;
  --brand-700: #807D4D;
  --brand-800: #66643D;
  --brand-900: #4B4A2F;
  --brand-950: #2F2E1D;
  --brand: #cccaaa;
  --brand-ink: #000000;
}

Colors that work with #cccaaa

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#E0DFCC
Hairlines and dividers
Muted text#8F8C56
Captions on the surface
Accent#485A84
Second voice, not a rival
Dark variant#504E30
Hover, pressed, headers
Light variant#F5F5EF
Selected rows, tints
Dark surface#232215
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 #cccaaa

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#AAACCC
Analogous left#CCB9AA
Analogous right#BDCCAA
Split-complement 1#AABDCC
Split-complement 2#B9AACC
Triadic 1#AACCCA
Triadic 2#CAAACC
Tetradic#AACCB9

RGB percentages

Red80.0%
Green79.2%
Blue66.7%

CMYK percentages

Cyan0.0%
Magenta1.0%
Yellow16.7%
Key (black)20.0%

Color previews

#cccaaa text on a black background

contrast 12.60:1

Card sample

#cccaaa text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cccaaa

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.

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

#cccaaa, answered

What color is #cccaaa?

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

What is the RGB value of #cccaaa?

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

Is #cccaaa a light or a dark color?

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

Should I use black or white text on #cccaaa?

Black. It scores 12.60:1 against #cccaaa, versus 1.67:1 for white — AAA at any size.

What is the complementary color of #cccaaa?

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

What colors go well with #cccaaa?

For interface work: #F9F9F5 as the surface, #E0DFCC for borders, #8F8C56 for secondary text, #485A84 as an accent and #504E30 for hover and pressed states. For a palette, the analogous pair #CCB9AA and #BDCCAA stays calm, while #AAACCC is the loudest partner.

What is #cccaaa in CMYK for printing?

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

Is #cccaaa warm or cool?

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

Work with #cccaaa in the Color Lab