Skip to content

#cdaa4f

a balanced, vivid yellow · warm · closest name: Goldenrod

RGB
205, 170, 79
HSL
43°, 56%, 56%
CMYK
0, 17, 62, 20
Luminance
0.4229

At a glance

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

Hex
#cdaa4f
Hue
43°
yellow
Saturation
56%
vivid
Lightness
56%
balanced
Brightness
80%
HSV value
Perceived
68%
weighted brightness
Luminance
0.4229
WCAG relative
Temperature
Warm
11/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
9.46:1
Closest name
Goldenrod
ΔE2000 5.8
Where it sits
Hue43° of 360°
Saturation56%
Lightness56%
Temperature
Warm ← → Cool11% 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#cdaa4f
RGBrgb(205, 170, 79)
HSLhsl(43, 56%, 56%)
CMYKcmyk(0%, 17%, 62%, 20%)
LABlab(71.1 2.4 50.6)
LCHlch(71.1 50.7 87.3)
OKLCHoklch(0.752 0.117 88.2)
Decimal13478479
Display P3color(display-p3 0.804 0.667 0.310)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdaa4f on white: 2.22:1
AA ✗ fail · AA-large · AAA
Aa
#cdaa4f on black: 9.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BCA846
deuteranopia · #C4B253
tritanopia · #DD9D96

Color scale — 50 to 950

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

#FBF9F4
#F6F3E9
#EEE5CE
#E6D5A8
#DAC07C
#cdaa4f
#BF9936
#9F7F2D
#7F6624
#5D4B1E
#3A2F13
Base = 500Lightest = 50 · #FBF9F4Darkest = 950 · #3A2F13
:root {
  --brand-50: #FBF9F4;
  --brand-100: #F6F3E9;
  --brand-200: #EEE5CE;
  --brand-300: #E6D5A8;
  --brand-400: #DAC07C;
  --brand-500: #cdaa4f;
  --brand-600: #BF9936;
  --brand-700: #9F7F2D;
  --brand-800: #7F6624;
  --brand-900: #5D4B1E;
  --brand-950: #3A2F13;
  --brand: #cdaa4f;
  --brand-ink: #000000;
}

Colors that work with #cdaa4f

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#EDE0C0
Hairlines and dividers
Muted text#9B854B
Captions on the surface
Accent#4A92D2
Second voice, not a rival
Dark variant#63501C
Hover, pressed, headers
Light variant#F9F5EB
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 #cdaa4f

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#4F72CD
Analogous left#CD6B4F
Analogous right#B1CD4F
Split-complement 1#4FB1CD
Split-complement 2#6B4FCD
Triadic 1#4FCDAA
Triadic 2#AA4FCD
Tetradic#4FCD6B

RGB percentages

Red80.4%
Green66.7%
Blue31.0%

CMYK percentages

Cyan0.0%
Magenta17.1%
Yellow61.5%
Key (black)19.6%

Color previews

#cdaa4f text on a black background

contrast 9.46:1

Card sample

#cdaa4f text on a white background

contrast 2.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdaa4f

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.

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

#cdaa4f, answered

What color is #cdaa4f?

#cdaa4f is a balanced vivid yellow, closest to Goldenrod (ΔE2000 5.8). It sits at 43° on the hue wheel with 56% saturation and 56% lightness, which reads as warm.

What is the RGB value of #cdaa4f?

rgb(205, 170, 79) — 205 red, 170 green and 79 blue out of 255, or 80.4% / 66.7% / 31% by channel.

Is #cdaa4f a light or a dark color?

It is a mid-tone. Relative luminance is 0.4229 and perceived brightness is 68%, so black text on it reaches 9.46:1.

Should I use black or white text on #cdaa4f?

Black. It scores 9.46:1 against #cdaa4f, versus 2.22:1 for white — AAA at any size.

What is the complementary color of #cdaa4f?

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

What colors go well with #cdaa4f?

For interface work: #FAF9F4 as the surface, #EDE0C0 for borders, #9B854B for secondary text, #4A92D2 as an accent and #63501C for hover and pressed states. For a palette, the analogous pair #CD6B4F and #B1CD4F stays calm, while #4F72CD is the loudest partner.

What is #cdaa4f in CMYK for printing?

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

Is #cdaa4f warm or cool?

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

Work with #cdaa4f in the Color Lab