Skip to content

#cdb261

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

RGB
205, 178, 97
HSL
45°, 52%, 59%
CMYK
0, 13, 53, 20
Luminance
0.4568

At a glance

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

Hex
#cdb261
Hue
45°
yellow
Saturation
52%
vivid
Lightness
59%
balanced
Brightness
80%
HSV value
Perceived
70%
weighted brightness
Luminance
0.4568
WCAG relative
Temperature
Warm
13/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
10.14:1
Closest name
Dark Khaki
ΔE2000 6.4
Where it sits
Hue45° of 360°
Saturation52%
Lightness59%
Temperature
Warm ← → Cool13% 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#cdb261
RGBrgb(205, 178, 97)
HSLhsl(45, 52%, 59%)
CMYKcmyk(0%, 13%, 53%, 20%)
LABlab(73.3 -0.5 44.6)
LCHlch(73.3 44.6 90.6)
OKLCHoklch(0.770 0.106 91.4)
Decimal13480545
Display P3color(display-p3 0.804 0.698 0.380)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdb261 on white: 2.07:1
AA ✗ fail · AA-large · AAA
Aa
#cdb261 on black: 10.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C2B05A
deuteranopia · #C8B764
tritanopia · #DBA79F

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cdb261 is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FAF9F4
#F6F3EA
#EDE5CF
#E4D5AA
#D7C17F
#cdb261
#BA9A3B
#9B8031
#7C6727
#5A4C20
#392F14
Base = 500Lightest = 50 · #FAF9F4Darkest = 950 · #392F14
:root {
  --brand-50: #FAF9F4;
  --brand-100: #F6F3EA;
  --brand-200: #EDE5CF;
  --brand-300: #E4D5AA;
  --brand-400: #D7C17F;
  --brand-500: #cdb261;
  --brand-600: #BA9A3B;
  --brand-700: #9B8031;
  --brand-800: #7C6727;
  --brand-900: #5A4C20;
  --brand-950: #392F14;
  --brand: #cdb261;
  --brand-ink: #000000;
}

Colors that work with #cdb261

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#EBE1C1
Hairlines and dividers
Muted text#9B874B
Captions on the surface
Accent#2D669F
Second voice, not a rival
Dark variant#61501F
Hover, pressed, headers
Light variant#F9F6EC
Selected rows, tints
Dark surface#242014
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 #cdb261

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#617CCD
Analogous left#CD7C61
Analogous right#B2CD61
Split-complement 1#61B2CD
Split-complement 2#7C61CD
Triadic 1#61CDB2
Triadic 2#B261CD
Tetradic#61CD7C

RGB percentages

Red80.4%
Green69.8%
Blue38.0%

CMYK percentages

Cyan0.0%
Magenta13.2%
Yellow52.7%
Key (black)19.6%

Color previews

#cdb261 text on a black background

contrast 10.14:1

Card sample

#cdb261 text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdb261

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.

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

#cdb261, answered

What color is #cdb261?

#cdb261 is a balanced vivid yellow, closest to Dark Khaki (ΔE2000 6.4). It sits at 45° on the hue wheel with 52% saturation and 59% lightness, which reads as warm.

What is the RGB value of #cdb261?

rgb(205, 178, 97) — 205 red, 178 green and 97 blue out of 255, or 80.4% / 69.8% / 38% by channel.

Is #cdb261 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4568 and perceived brightness is 70%, so black text on it reaches 10.14:1.

Should I use black or white text on #cdb261?

Black. It scores 10.14:1 against #cdb261, versus 2.07:1 for white — AAA at any size.

What is the complementary color of #cdb261?

#617CCD sits directly opposite on the wheel. Softer options are the split-complements #61B2CD and #7C61CD, which give the same contrast with far less vibration.

What colors go well with #cdb261?

For interface work: #FAF9F4 as the surface, #EBE1C1 for borders, #9B874B for secondary text, #2D669F as an accent and #61501F for hover and pressed states. For a palette, the analogous pair #CD7C61 and #B2CD61 stays calm, while #617CCD is the loudest partner.

What is #cdb261 in CMYK for printing?

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

Is #cdb261 warm or cool?

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

Work with #cdb261 in the Color Lab