Skip to content

#c9af6f

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

RGB
201, 175, 111
HSL
43°, 46%, 61%
CMYK
0, 13, 45, 21
Luminance
0.4423

At a glance

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

Hex
#c9af6f
Hue
43°
yellow
Saturation
46%
vivid
Lightness
61%
balanced
Brightness
79%
HSV value
Perceived
70%
weighted brightness
Luminance
0.4423
WCAG relative
Temperature
Warm
11/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
9.85:1
Closest name
Tan
ΔE2000 6.8
Where it sits
Hue43° of 360°
Saturation46%
Lightness61%
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#c9af6f
RGBrgb(201, 175, 111)
HSLhsl(43, 46%, 61%)
CMYKcmyk(0%, 13%, 45%, 21%)
LABlab(72.4 0.8 36.2)
LCHlch(72.4 36.2 88.8)
OKLCHoklch(0.762 0.088 88.2)
Decimal13217647
Display P3color(display-p3 0.788 0.686 0.435)

Copy-ready code

/* CSS */
color: #c9af6f;
background-color: #c9af6f;
/* Tailwind (arbitrary) */
class="text-[#c9af6f] bg-[#c9af6f]"
/* SCSS */
$brand: #c9af6f;
/* SwiftUI */
Color(red: 0.788, green: 0.686, blue: 0.435)
/* Android */
Color.parseColor("#c9af6f")
/* Flutter */
Color(0xFFC9AF6F)
/* Python / OpenCV (BGR) */
(111, 175, 201)

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 #c9af6f · 9.85:1
Use #000000AAA at every size.
Aa
White text · 2.13:1
AA fail · AA large fail · AAA fail
Aa
Black text · 9.85:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #c9af6f as text scores 2.13:1 on white and 9.85:1 on black.

Accessibility — WCAG contrast

Aa
#c9af6f on white: 2.13:1
AA ✗ fail · AA-large · AAA
Aa
#c9af6f on black: 9.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BDAD6A
deuteranopia · #C3B571
tritanopia · #D6A59F

Color scale — 50 to 950

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

#FAF8F5
#F5F2EA
#EBE3D1
#E0D2AD
#D1BB85
#c9af6f
#B29243
#947A38
#77612C
#574824
#362D16
Base = 500Lightest = 50 · #FAF8F5Darkest = 950 · #362D16
:root {
  --brand-50: #FAF8F5;
  --brand-100: #F5F2EA;
  --brand-200: #EBE3D1;
  --brand-300: #E0D2AD;
  --brand-400: #D1BB85;
  --brand-500: #c9af6f;
  --brand-600: #B29243;
  --brand-700: #947A38;
  --brand-800: #77612C;
  --brand-900: #574824;
  --brand-950: #362D16;
  --brand: #c9af6f;
  --brand-ink: #000000;
}

Colors that work with #c9af6f

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#E9DEC4
Hairlines and dividers
Muted text#9B844B
Captions on the surface
Accent#346A98
Second voice, not a rival
Dark variant#5D4C23
Hover, pressed, headers
Light variant#F8F5EC
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 #c9af6f

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#6F89C9
Analogous left#C9826F
Analogous right#B6C96F
Split-complement 1#6FB6C9
Split-complement 2#826FC9
Triadic 1#6FC9AF
Triadic 2#AF6FC9
Tetradic#6FC982

RGB percentages

Red78.8%
Green68.6%
Blue43.5%

CMYK percentages

Cyan0.0%
Magenta12.9%
Yellow44.8%
Key (black)21.2%

Color previews

#c9af6f text on a black background

contrast 9.85:1

Card sample

#c9af6f text on a white background

contrast 2.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c9af6f

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.

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

#c9af6f, answered

What color is #c9af6f?

#c9af6f is a balanced vivid yellow, closest to Tan (ΔE2000 6.8). It sits at 43° on the hue wheel with 46% saturation and 61% lightness, which reads as warm.

What is the RGB value of #c9af6f?

rgb(201, 175, 111) — 201 red, 175 green and 111 blue out of 255, or 78.8% / 68.6% / 43.5% by channel.

Is #c9af6f a light or a dark color?

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

Should I use black or white text on #c9af6f?

Black. It scores 9.85:1 against #c9af6f, versus 2.13:1 for white — AAA at any size.

What is the complementary color of #c9af6f?

#6F89C9 sits directly opposite on the wheel. Softer options are the split-complements #6FB6C9 and #826FC9, which give the same contrast with far less vibration.

What colors go well with #c9af6f?

For interface work: #FAF9F4 as the surface, #E9DEC4 for borders, #9B844B for secondary text, #346A98 as an accent and #5D4C23 for hover and pressed states. For a palette, the analogous pair #C9826F and #B6C96F stays calm, while #6F89C9 is the loudest partner.

What is #c9af6f in CMYK for printing?

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

Is #c9af6f 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 #C99D6F; nudged cooler, #C4CB6D.

Work with #c9af6f in the Color Lab