Skip to content

#cecba2

a light, soft yellow · warm · closest name: Pale Goldenrod

RGB
206, 203, 162
HSL
56°, 31%, 72%
CMYK
0, 2, 21, 19
Luminance
0.5844

At a glance

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

Hex
#cecba2
Hue
56°
yellow
Saturation
31%
soft
Lightness
72%
light
Brightness
81%
HSV value
Perceived
78%
weighted brightness
Luminance
0.5844
WCAG relative
Temperature
Warm
25/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
12.69:1
Closest name
Pale Goldenrod
ΔE2000 8.1
Where it sits
Hue56° of 360°
Saturation31%
Lightness72%
Temperature
Warm ← → Cool25% 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#cecba2
RGBrgb(206, 203, 162)
HSLhsl(56, 31%, 72%)
CMYKcmyk(0%, 2%, 21%, 19%)
LABlab(81.0 -5.6 20.9)
LCHlch(81.0 21.6 105.1)
OKLCHoklch(0.834 0.055 104.0)
Decimal13552546
Display P3color(display-p3 0.808 0.796 0.635)

Copy-ready code

/* CSS */
color: #cecba2;
background-color: #cecba2;
/* Tailwind (arbitrary) */
class="text-[#cecba2] bg-[#cecba2]"
/* SCSS */
$brand: #cecba2;
/* SwiftUI */
Color(red: 0.808, green: 0.796, blue: 0.635)
/* Android */
Color.parseColor("#cecba2")
/* Flutter */
Color(0xFFCECBA2)
/* Python / OpenCV (BGR) */
(162, 203, 206)

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 #cecba2 · 12.69:1
Use #000000AAA at every size.
Aa
White text · 1.66:1
AA fail · AA large fail · AAA fail
Aa
Black text · 12.69:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #cecba2 as text scores 1.66:1 on white and 12.69:1 on black.

Accessibility — WCAG contrast

Aa
#cecba2 on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#cecba2 on black: 12.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D3C89F
deuteranopia · #D4CAA3
tritanopia · #D5C5C0

Color scale — 50 to 950

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

#F9F9F6
#F3F3EC
#E7E6D5
#D8D6B6
#cecba2
#B2AD6C
#A09B54
#868146
#6B6738
#4F4C2C
#31301B
Base = 400Lightest = 50 · #F9F9F6Darkest = 950 · #31301B
:root {
  --brand-50: #F9F9F6;
  --brand-100: #F3F3EC;
  --brand-200: #E7E6D5;
  --brand-300: #D8D6B6;
  --brand-400: #cecba2;
  --brand-500: #B2AD6C;
  --brand-600: #A09B54;
  --brand-700: #868146;
  --brand-800: #6B6738;
  --brand-900: #4F4C2C;
  --brand-950: #31301B;
  --brand: #cecba2;
  --brand-ink: #000000;
}

Colors that work with #cecba2

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#FAF9F5
Tinted page background
Border#E3E1CA
Hairlines and dividers
Muted text#96914F
Captions on the surface
Accent#42598A
Second voice, not a rival
Dark variant#54512C
Hover, pressed, headers
Light variant#F6F6EE
Selected rows, tints
Dark surface#242314
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 #cecba2

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#A2A5CE
Analogous left#CEB5A2
Analogous right#BBCEA2
Split-complement 1#A2BBCE
Split-complement 2#B5A2CE
Triadic 1#A2CECB
Triadic 2#CBA2CE
Tetradic#A2CEB5

RGB percentages

Red80.8%
Green79.6%
Blue63.5%

CMYK percentages

Cyan0.0%
Magenta1.5%
Yellow21.4%
Key (black)19.2%

Color previews

#cecba2 text on a black background

contrast 12.69:1

Card sample

#cecba2 text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(206, 203, 162, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 203, 162, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cecba2;
background: linear-gradient(135deg, #cecba2, #B4CEA2);

Monochromatic scale

Palettes built from #cecba2

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.

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

#cecba2, answered

What color is #cecba2?

#cecba2 is a light soft yellow, closest to Pale Goldenrod (ΔE2000 8.1). It sits at 56° on the hue wheel with 31% saturation and 72% lightness, which reads as warm.

What is the RGB value of #cecba2?

rgb(206, 203, 162) — 206 red, 203 green and 162 blue out of 255, or 80.8% / 79.6% / 63.5% by channel.

Is #cecba2 a light or a dark color?

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

Should I use black or white text on #cecba2?

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

What is the complementary color of #cecba2?

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

What colors go well with #cecba2?

For interface work: #FAF9F5 as the surface, #E3E1CA for borders, #96914F for secondary text, #42598A as an accent and #54512C for hover and pressed states. For a palette, the analogous pair #CEB5A2 and #BBCEA2 stays calm, while #A2A5CE is the loudest partner.

What is #cecba2 in CMYK for printing?

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

Is #cecba2 warm or cool?

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

Work with #cecba2 in the Color Lab