Skip to content

#cdba6f

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

RGB
205, 186, 111
HSL
48°, 49%, 62%
CMYK
0, 9, 46, 20
Luminance
0.4924

At a glance

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

Hex
#cdba6f
Hue
48°
yellow
Saturation
49%
vivid
Lightness
62%
balanced
Brightness
80%
HSV value
Perceived
73%
weighted brightness
Luminance
0.4924
WCAG relative
Temperature
Warm
15/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
10.85:1
Closest name
Dark Khaki
ΔE2000 4.2
Where it sits
Hue48° of 360°
Saturation49%
Lightness62%
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#cdba6f
RGBrgb(205, 186, 111)
HSLhsl(48, 49%, 62%)
CMYKcmyk(0%, 9%, 46%, 20%)
LABlab(75.6 -3.4 40.3)
LCHlch(75.6 40.5 94.8)
OKLCHoklch(0.789 0.098 95.6)
Decimal13482607
Display P3color(display-p3 0.804 0.729 0.435)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdba6f on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#cdba6f on black: 10.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C8B769
deuteranopia · #CDBD72
tritanopia · #DAB0A8

Color scale — 50 to 950

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

#FAF9F4
#F5F3EA
#ECE6D0
#E2D7AC
#cdba6f
#C5AF58
#B69E3F
#978435
#79692A
#594D22
#373015
Base = 400Lightest = 50 · #FAF9F4Darkest = 950 · #373015
:root {
  --brand-50: #FAF9F4;
  --brand-100: #F5F3EA;
  --brand-200: #ECE6D0;
  --brand-300: #E2D7AC;
  --brand-400: #cdba6f;
  --brand-500: #C5AF58;
  --brand-600: #B69E3F;
  --brand-700: #978435;
  --brand-800: #79692A;
  --brand-900: #594D22;
  --brand-950: #373015;
  --brand: #cdba6f;
  --brand-ink: #000000;
}

Colors that work with #cdba6f

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#EAE2C2
Hairlines and dividers
Muted text#9B8B4B
Captions on the surface
Accent#30619C
Second voice, not a rival
Dark variant#5F5221
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 #cdba6f

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#6F82CD
Analogous left#CD8B6F
Analogous right#B1CD6F
Split-complement 1#6FB1CD
Split-complement 2#8B6FCD
Triadic 1#6FCDBA
Triadic 2#BA6FCD
Tetradic#6FCD8B

RGB percentages

Red80.4%
Green72.9%
Blue43.5%

CMYK percentages

Cyan0.0%
Magenta9.3%
Yellow45.9%
Key (black)19.6%

Color previews

#cdba6f text on a black background

contrast 10.85:1

Card sample

#cdba6f text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdba6f

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.

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

#cdba6f, answered

What color is #cdba6f?

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

What is the RGB value of #cdba6f?

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

Is #cdba6f a light or a dark color?

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

Should I use black or white text on #cdba6f?

Black. It scores 10.85:1 against #cdba6f, versus 1.94:1 for white — AAA at any size.

What is the complementary color of #cdba6f?

#6F82CD sits directly opposite on the wheel. Softer options are the split-complements #6FB1CD and #8B6FCD, which give the same contrast with far less vibration.

What colors go well with #cdba6f?

For interface work: #FAF9F4 as the surface, #EAE2C2 for borders, #9B8B4B for secondary text, #30619C as an accent and #5F5221 for hover and pressed states. For a palette, the analogous pair #CD8B6F and #B1CD6F stays calm, while #6F82CD is the loudest partner.

What is #cdba6f in CMYK for printing?

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

Is #cdba6f 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 #CDA16F; nudged cooler, #BFCF6D.

Work with #cdba6f in the Color Lab