Skip to content

#cdcb98

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

RGB
205, 203, 152
HSL
58°, 35%, 70%
CMYK
0, 1, 26, 20
Luminance
0.5796

At a glance

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

Hex
#cdcb98
Hue
58°
yellow
Saturation
35%
soft
Lightness
70%
light
Brightness
80%
HSV value
Perceived
78%
weighted brightness
Luminance
0.5796
WCAG relative
Temperature
Warm
23/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
12.59:1
Closest name
Pale Goldenrod
ΔE2000 7.2
Where it sits
Hue58° of 360°
Saturation35%
Lightness70%
Temperature
Warm ← → Cool23% 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#cdcb98
RGBrgb(205, 203, 152)
HSLhsl(58, 35%, 70%)
CMYKcmyk(0%, 1%, 26%, 20%)
LABlab(80.7 -7.4 25.8)
LCHlch(80.7 26.8 106.1)
OKLCHoklch(0.831 0.068 105.9)
Decimal13487000
Display P3color(display-p3 0.804 0.796 0.596)

Copy-ready code

/* CSS */
color: #cdcb98;
background-color: #cdcb98;
/* Tailwind (arbitrary) */
class="text-[#cdcb98] bg-[#cdcb98]"
/* SCSS */
$brand: #cdcb98;
/* SwiftUI */
Color(red: 0.804, green: 0.796, blue: 0.596)
/* Android */
Color.parseColor("#cdcb98")
/* Flutter */
Color(0xFFCDCB98)
/* Python / OpenCV (BGR) */
(152, 203, 205)

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

Accessibility — WCAG contrast

Aa
#cdcb98 on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#cdcb98 on black: 12.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D4C795
deuteranopia · #D5CA9A
tritanopia · #D5C4BD

Color scale — 50 to 950

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

#F9F9F5
#F4F4EC
#E8E7D4
#DAD9B3
#cdcb98
#B6B368
#A5A250
#898743
#6E6C35
#514F2A
#32311A
Base = 400Lightest = 50 · #F9F9F5Darkest = 950 · #32311A
:root {
  --brand-50: #F9F9F5;
  --brand-100: #F4F4EC;
  --brand-200: #E8E7D4;
  --brand-300: #DAD9B3;
  --brand-400: #cdcb98;
  --brand-500: #B6B368;
  --brand-600: #A5A250;
  --brand-700: #898743;
  --brand-800: #6E6C35;
  --brand-900: #514F2A;
  --brand-950: #32311A;
  --brand: #cdcb98;
  --brand-ink: #000000;
}

Colors that work with #cdcb98

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#FAFAF5
Tinted page background
Border#E4E3C8
Hairlines and dividers
Muted text#9A974B
Captions on the surface
Accent#3F558D
Second voice, not a rival
Dark variant#56542A
Hover, pressed, headers
Light variant#F7F6EE
Selected rows, tints
Dark surface#242414
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 #cdcb98

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#989ACD
Analogous left#CDB098
Analogous right#B5CD98
Split-complement 1#98B5CD
Split-complement 2#B098CD
Triadic 1#98CDCB
Triadic 2#CB98CD
Tetradic#98CDB0

RGB percentages

Red80.4%
Green79.6%
Blue59.6%

CMYK percentages

Cyan0.0%
Magenta1.0%
Yellow25.9%
Key (black)19.6%

Color previews

#cdcb98 text on a black background

contrast 12.59:1

Card sample

#cdcb98 text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdcb98

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.

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

#cdcb98, answered

What color is #cdcb98?

#cdcb98 is a light soft yellow, closest to Pale Goldenrod (ΔE2000 7.2). It sits at 58° on the hue wheel with 35% saturation and 70% lightness, which reads as warm.

What is the RGB value of #cdcb98?

rgb(205, 203, 152) — 205 red, 203 green and 152 blue out of 255, or 80.4% / 79.6% / 59.6% by channel.

Is #cdcb98 a light or a dark color?

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

Should I use black or white text on #cdcb98?

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

What is the complementary color of #cdcb98?

#989ACD sits directly opposite on the wheel. Softer options are the split-complements #98B5CD and #B098CD, which give the same contrast with far less vibration.

What colors go well with #cdcb98?

For interface work: #FAFAF5 as the surface, #E4E3C8 for borders, #9A974B for secondary text, #3F558D as an accent and #56542A for hover and pressed states. For a palette, the analogous pair #CDB098 and #B5CD98 stays calm, while #989ACD is the loudest partner.

What is #cdcb98 in CMYK for printing?

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

Is #cdcb98 warm or cool?

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

Work with #cdcb98 in the Color Lab