Skip to content

#cdba72

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

RGB
205, 186, 114
HSL
48°, 48%, 63%
CMYK
0, 9, 44, 20
Luminance
0.4931

At a glance

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

Hex
#cdba72
Hue
48°
yellow
Saturation
48%
vivid
Lightness
63%
balanced
Brightness
80%
HSV value
Perceived
73%
weighted brightness
Luminance
0.4931
WCAG relative
Temperature
Warm
15/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
10.86:1
Closest name
Dark Khaki
ΔE2000 4.3
Where it sits
Hue48° of 360°
Saturation48%
Lightness63%
Temperature
Warm ← → Cool15% 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#cdba72
RGBrgb(205, 186, 114)
HSLhsl(48, 48%, 63%)
CMYKcmyk(0%, 9%, 44%, 20%)
LABlab(75.7 -3.1 38.9)
LCHlch(75.7 39.0 94.6)
OKLCHoklch(0.789 0.095 95.1)
Decimal13482610
Display P3color(display-p3 0.804 0.729 0.447)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdba72 on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#cdba72 on black: 10.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C8B76C
deuteranopia · #CDBD75
tritanopia · #DAB0A8

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cdba72 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
#ECE6D0
#E2D6AC
#cdba72
#C4AE59
#B59C40
#978235
#78682B
#584D22
#373015
Base = 400Lightest = 50 · #FAF9F5Darkest = 950 · #373015
:root {
  --brand-50: #FAF9F5;
  --brand-100: #F5F3EA;
  --brand-200: #ECE6D0;
  --brand-300: #E2D6AC;
  --brand-400: #cdba72;
  --brand-500: #C4AE59;
  --brand-600: #B59C40;
  --brand-700: #978235;
  --brand-800: #78682B;
  --brand-900: #584D22;
  --brand-950: #373015;
  --brand: #cdba72;
  --brand-ink: #000000;
}

Colors that work with #cdba72

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#EAE2C3
Hairlines and dividers
Muted text#9B8A4B
Captions on the surface
Accent#31619B
Second voice, not a rival
Dark variant#5E5121
Hover, pressed, headers
Light variant#F8F6EC
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 #cdba72

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

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • 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#7285CD
Analogous left#CD8C72
Analogous right#B2CD72
Split-complement 1#72B2CD
Split-complement 2#8C72CD
Triadic 1#72CDBA
Triadic 2#BA72CD
Tetradic#72CD8C

RGB percentages

Red80.4%
Green72.9%
Blue44.7%

CMYK percentages

Cyan0.0%
Magenta9.3%
Yellow44.4%
Key (black)19.6%

Color previews

#cdba72 text on a black background

contrast 10.86:1

Card sample

#cdba72 text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdba72

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.

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

#cdba72, answered

What color is #cdba72?

#cdba72 is a balanced vivid yellow, closest to Dark Khaki (ΔE2000 4.3). It sits at 48° on the hue wheel with 48% saturation and 63% lightness, which reads as warm.

What is the RGB value of #cdba72?

rgb(205, 186, 114) — 205 red, 186 green and 114 blue out of 255, or 80.4% / 72.9% / 44.7% by channel.

Is #cdba72 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4931 and perceived brightness is 73%, so black text on it reaches 10.86:1.

Should I use black or white text on #cdba72?

Black. It scores 10.86:1 against #cdba72, versus 1.93:1 for white — AAA at any size.

What is the complementary color of #cdba72?

#7285CD sits directly opposite on the wheel. Softer options are the split-complements #72B2CD and #8C72CD, which give the same contrast with far less vibration.

What colors go well with #cdba72?

For interface work: #FAF9F4 as the surface, #EAE2C3 for borders, #9B8A4B for secondary text, #31619B as an accent and #5E5121 for hover and pressed states. For a palette, the analogous pair #CD8C72 and #B2CD72 stays calm, while #7285CD is the loudest partner.

What is #cdba72 in CMYK for printing?

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

Is #cdba72 warm or cool?

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

Work with #cdba72 in the Color Lab