Skip to content

#cdcd96

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

RGB
205, 205, 150
HSL
60°, 36%, 70%
CMYK
0, 0, 27, 20
Luminance
0.5884

At a glance

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

Hex
#cdcd96
Hue
60°
yellow
Saturation
36%
soft
Lightness
70%
light
Brightness
80%
HSV value
Perceived
78%
weighted brightness
Luminance
0.5884
WCAG relative
Temperature
Warm
25/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
12.77:1
Closest name
Pale Goldenrod
ΔE2000 6.8
Where it sits
Hue60° of 360°
Saturation36%
Lightness70%
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#cdcd96
RGBrgb(205, 205, 150)
HSLhsl(60, 36%, 70%)
CMYKcmyk(0%, 0%, 27%, 20%)
LABlab(81.2 -8.7 27.5)
LCHlch(81.2 28.8 107.6)
OKLCHoklch(0.835 0.073 107.9)
Decimal13487510
Display P3color(display-p3 0.804 0.804 0.588)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdcd96 on white: 1.64:1
AA ✗ fail · AA-large · AAA
Aa
#cdcd96 on black: 12.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D6C892
deuteranopia · #D7CB98
tritanopia · #D5C6BE

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cdcd96 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
#F4F4EB
#E8E8D3
#DBDBB3
#cdcd96
#B7B767
#A6A64F
#8A8A42
#6F6F35
#515129
#33331A
Base = 400Lightest = 50 · #F9F9F5Darkest = 950 · #33331A
:root {
  --brand-50: #F9F9F5;
  --brand-100: #F4F4EB;
  --brand-200: #E8E8D3;
  --brand-300: #DBDBB3;
  --brand-400: #cdcd96;
  --brand-500: #B7B767;
  --brand-600: #A6A64F;
  --brand-700: #8A8A42;
  --brand-800: #6F6F35;
  --brand-900: #515129;
  --brand-950: #33331A;
  --brand: #cdcd96;
  --brand-ink: #000000;
}

Colors that work with #cdcd96

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#E5E5C8
Hairlines and dividers
Muted text#9B9B4B
Captions on the surface
Accent#3E528E
Second voice, not a rival
Dark variant#565629
Hover, pressed, headers
Light variant#F7F7EE
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 #cdcd96

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#9696CD
Analogous left#CDB196
Analogous right#B1CD96
Split-complement 1#96B1CD
Split-complement 2#B196CD
Triadic 1#96CDCD
Triadic 2#CD96CD
Tetradic#96CDB1

RGB percentages

Red80.4%
Green80.4%
Blue58.8%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow26.8%
Key (black)19.6%

Color previews

#cdcd96 text on a black background

contrast 12.77:1

Card sample

#cdcd96 text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdcd96

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.

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

#cdcd96, answered

What color is #cdcd96?

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

What is the RGB value of #cdcd96?

rgb(205, 205, 150) — 205 red, 205 green and 150 blue out of 255, or 80.4% / 80.4% / 58.8% by channel.

Is #cdcd96 a light or a dark color?

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

Should I use black or white text on #cdcd96?

Black. It scores 12.77:1 against #cdcd96, versus 1.64:1 for white — AAA at any size.

What is the complementary color of #cdcd96?

#9696CD sits directly opposite on the wheel. Softer options are the split-complements #96B1CD and #B196CD, which give the same contrast with far less vibration.

What colors go well with #cdcd96?

For interface work: #FAFAF5 as the surface, #E5E5C8 for borders, #9B9B4B for secondary text, #3E528E as an accent and #565629 for hover and pressed states. For a palette, the analogous pair #CDB196 and #B1CD96 stays calm, while #9696CD is the loudest partner.

What is #cdcd96 in CMYK for printing?

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

Is #cdcd96 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 #CDB996; nudged cooler, #B9CF94.

Work with #cdcd96 in the Color Lab