Skip to content

#cdbc7d

a balanced, soft yellow · warm · closest name: Dark Khaki

RGB
205, 188, 125
HSL
47°, 44%, 65%
CMYK
0, 8, 39, 20
Luminance
0.5043

At a glance

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

Hex
#cdbc7d
Hue
47°
yellow
Saturation
44%
soft
Lightness
65%
balanced
Brightness
80%
HSV value
Perceived
73%
weighted brightness
Luminance
0.5043
WCAG relative
Temperature
Warm
14/100 cool
Color family
Yellow
Tone
Soft
Best ink
Black
11.09:1
Closest name
Dark Khaki
ΔE2000 4.8
Where it sits
Hue47° of 360°
Saturation44%
Lightness65%
Temperature
Warm ← → Cool14% 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#cdbc7d
RGBrgb(205, 188, 125)
HSLhsl(47, 44%, 65%)
CMYKcmyk(0%, 8%, 39%, 20%)
LABlab(76.3 -3.0 34.1)
LCHlch(76.3 34.2 95.0)
OKLCHoklch(0.795 0.084 94.8)
Decimal13483133
Display P3color(display-p3 0.804 0.737 0.490)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdbc7d on white: 1.89:1
AA ✗ fail · AA-large · AAA
Aa
#cdbc7d on black: 11.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C8B978
deuteranopia · #CDBF7F
tritanopia · #D9B3AC

Color scale — 50 to 950

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

#FAF9F5
#F5F3EA
#EBE5D1
#E0D5AE
#cdbc7d
#C1AC5D
#B19A44
#938039
#76662D
#564C24
#362F17
Base = 400Lightest = 50 · #FAF9F5Darkest = 950 · #362F17
:root {
  --brand-50: #FAF9F5;
  --brand-100: #F5F3EA;
  --brand-200: #EBE5D1;
  --brand-300: #E0D5AE;
  --brand-400: #cdbc7d;
  --brand-500: #C1AC5D;
  --brand-600: #B19A44;
  --brand-700: #938039;
  --brand-800: #76662D;
  --brand-900: #564C24;
  --brand-950: #362F17;
  --brand: #cdbc7d;
  --brand-ink: #000000;
}

Colors that work with #cdbc7d

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#FAF9F4
Tinted page background
Border#E8E1C4
Hairlines and dividers
Muted text#9B8A4B
Captions on the surface
Accent#346398
Second voice, not a rival
Dark variant#5C5023
Hover, pressed, headers
Light variant#F8F6ED
Selected rows, tints
Dark surface#242114
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 #cdbc7d

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#7D8ECD
Analogous left#CD947D
Analogous right#B6CD7D
Split-complement 1#7DB6CD
Split-complement 2#947DCD
Triadic 1#7DCDBC
Triadic 2#BC7DCD
Tetradic#7DCD94

RGB percentages

Red80.4%
Green73.7%
Blue49.0%

CMYK percentages

Cyan0.0%
Magenta8.3%
Yellow39.0%
Key (black)19.6%

Color previews

#cdbc7d text on a black background

contrast 11.09:1

Card sample

#cdbc7d text on a white background

contrast 1.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdbc7d

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.

#cdbc7d 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
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#cdbc7d, answered

What color is #cdbc7d?

#cdbc7d is a balanced soft yellow, closest to Dark Khaki (ΔE2000 4.8). It sits at 47° on the hue wheel with 44% saturation and 65% lightness, which reads as warm.

What is the RGB value of #cdbc7d?

rgb(205, 188, 125) — 205 red, 188 green and 125 blue out of 255, or 80.4% / 73.7% / 49% by channel.

Is #cdbc7d a light or a dark color?

It is a light color. Relative luminance is 0.5043 and perceived brightness is 73%, so black text on it reaches 11.09:1.

Should I use black or white text on #cdbc7d?

Black. It scores 11.09:1 against #cdbc7d, versus 1.89:1 for white — AAA at any size.

What is the complementary color of #cdbc7d?

#7D8ECD sits directly opposite on the wheel. Softer options are the split-complements #7DB6CD and #947DCD, which give the same contrast with far less vibration.

What colors go well with #cdbc7d?

For interface work: #FAF9F4 as the surface, #E8E1C4 for borders, #9B8A4B for secondary text, #346398 as an accent and #5C5023 for hover and pressed states. For a palette, the analogous pair #CD947D and #B6CD7D stays calm, while #7D8ECD is the loudest partner.

What is #cdbc7d in CMYK for printing?

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

Is #cdbc7d warm or cool?

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

Work with #cdbc7d in the Color Lab