Skip to content

#cccab2

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

RGB
204, 202, 178
HSL
55°, 20%, 75%
CMYK
0, 1, 13, 20
Luminance
0.5829

At a glance

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

Hex
#cccab2
Hue
55°
yellow
Saturation
20%
soft
Lightness
75%
light
Brightness
80%
HSV value
Perceived
78%
weighted brightness
Luminance
0.5829
WCAG relative
Temperature
Warm
33/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
12.66:1
Closest name
Beige
ΔE2000 9.6
Where it sits
Hue55° of 360°
Saturation20%
Lightness75%
Temperature
Warm ← → Cool33% 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#cccab2
RGBrgb(204, 202, 178)
HSLhsl(55, 20%, 75%)
CMYKcmyk(0%, 1%, 13%, 20%)
LABlab(80.9 -3.4 12.2)
LCHlch(80.9 12.7 105.6)
OKLCHoklch(0.834 0.033 103.2)
Decimal13421234
Display P3color(display-p3 0.800 0.792 0.698)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cccab2 on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#cccab2 on black: 12.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CFC8B1
deuteranopia · #D0CAB3
tritanopia · #D0C7C3

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cccab2 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
#F2F2ED
#E4E3D8
#cccab2
#BCB99A
#A6A278
#938F62
#7B7851
#626041
#494732
#2D2C1F
Base = 300Lightest = 50 · #F9F8F6Darkest = 950 · #2D2C1F
:root {
  --brand-50: #F9F8F6;
  --brand-100: #F2F2ED;
  --brand-200: #E4E3D8;
  --brand-300: #cccab2;
  --brand-400: #BCB99A;
  --brand-500: #A6A278;
  --brand-600: #938F62;
  --brand-700: #7B7851;
  --brand-800: #626041;
  --brand-900: #494732;
  --brand-950: #2D2C1F;
  --brand: #cccab2;
  --brand-ink: #000000;
}

Colors that work with #cccab2

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#DEDDCE
Hairlines and dividers
Muted text#8A865B
Captions on the surface
Accent#4D5E80
Second voice, not a rival
Dark variant#4D4B33
Hover, pressed, headers
Light variant#F5F4F0
Selected rows, tints
Dark surface#222116
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 #cccab2

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#B2B4CC
Analogous left#CCBDB2
Analogous right#C1CCB2
Split-complement 1#B2C1CC
Split-complement 2#BDB2CC
Triadic 1#B2CCCA
Triadic 2#CAB2CC
Tetradic#B2CCBD

RGB percentages

Red80.0%
Green79.2%
Blue69.8%

CMYK percentages

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

Color previews

#cccab2 text on a black background

contrast 12.66:1

Card sample

#cccab2 text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cccab2

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.

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

#cccab2, answered

What color is #cccab2?

#cccab2 is a light soft yellow, closest to Beige (ΔE2000 9.6). It sits at 55° on the hue wheel with 20% saturation and 75% lightness, which reads as warm.

What is the RGB value of #cccab2?

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

Is #cccab2 a light or a dark color?

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

Should I use black or white text on #cccab2?

Black. It scores 12.66:1 against #cccab2, versus 1.66:1 for white — AAA at any size.

What is the complementary color of #cccab2?

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

What colors go well with #cccab2?

For interface work: #F9F9F6 as the surface, #DEDDCE for borders, #8A865B for secondary text, #4D5E80 as an accent and #4D4B33 for hover and pressed states. For a palette, the analogous pair #CCBDB2 and #C1CCB2 stays calm, while #B2B4CC is the loudest partner.

What is #cccab2 in CMYK for printing?

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

Is #cccab2 warm or cool?

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

Work with #cccab2 in the Color Lab