Skip to content

#cdcf73

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

RGB
205, 207, 115
HSL
61°, 49%, 63%
CMYK
1, 0, 44, 19
Luminance
0.5884

At a glance

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

Hex
#cdcf73
Hue
61°
yellow
Saturation
49%
vivid
Lightness
63%
balanced
Brightness
81%
HSV value
Perceived
78%
weighted brightness
Luminance
0.5884
WCAG relative
Temperature
Warm
26/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
12.77:1
Closest name
Dark Khaki
ΔE2000 6.4
Where it sits
Hue61° of 360°
Saturation49%
Lightness63%
Temperature
Warm ← → Cool26% 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#cdcf73
RGBrgb(205, 207, 115)
HSLhsl(61, 49%, 63%)
CMYKcmyk(1%, 0%, 44%, 19%)
LABlab(81.2 -13.8 45.3)
LCHlch(81.2 47.3 106.9)
OKLCHoklch(0.833 0.115 109.8)
Decimal13487987
Display P3color(display-p3 0.804 0.812 0.451)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdcf73 on white: 1.64:1
AA ✗ fail · AA-large · AAA
Aa
#cdcf73 on black: 12.77:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DCC86B
deuteranopia · #DDCB77
tritanopia · #D8C5B9

Color scale — 50 to 950

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

#FAFAF4
#F5F6EA
#EBECD0
#E1E2AB
#cdcf73
#C3C658
#B4B63F
#969834
#787A2A
#585922
#373715
Base = 400Lightest = 50 · #FAFAF4Darkest = 950 · #373715
:root {
  --brand-50: #FAFAF4;
  --brand-100: #F5F6EA;
  --brand-200: #EBECD0;
  --brand-300: #E1E2AB;
  --brand-400: #cdcf73;
  --brand-500: #C3C658;
  --brand-600: #B4B63F;
  --brand-700: #969834;
  --brand-800: #787A2A;
  --brand-900: #585922;
  --brand-950: #373715;
  --brand: #cdcf73;
  --brand-ink: #000000;
}

Colors that work with #cdcf73

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#FAFAF4
Tinted page background
Border#E9EAC2
Hairlines and dividers
Muted text#999B4B
Captions on the surface
Accent#6F86D3
Second voice, not a rival
Dark variant#5E5F21
Hover, pressed, headers
Light variant#F8F8EC
Selected rows, tints
Dark surface#242414
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 #cdcf73

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#7573CF
Analogous left#CFA373
Analogous right#9FCF73
Split-complement 1#739FCF
Split-complement 2#A373CF
Triadic 1#73CDCF
Triadic 2#CF73CD
Tetradic#73CFA3

RGB percentages

Red80.4%
Green81.2%
Blue45.1%

CMYK percentages

Cyan1.0%
Magenta0.0%
Yellow44.4%
Key (black)18.8%

Color previews

#cdcf73 text on a black background

contrast 12.77:1

Card sample

#cdcf73 text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 207, 115, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 207, 115, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdcf73;
background: linear-gradient(135deg, #cdcf73, #90CF73);

Monochromatic scale

Palettes built from #cdcf73

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.

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

#cdcf73, answered

What color is #cdcf73?

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

What is the RGB value of #cdcf73?

rgb(205, 207, 115) — 205 red, 207 green and 115 blue out of 255, or 80.4% / 81.2% / 45.1% by channel.

Is #cdcf73 a light or a dark color?

It is a light color. Relative luminance is 0.5884 and perceived brightness is 78%, so black text on it reaches 12.77:1.

Should I use black or white text on #cdcf73?

Black. It scores 12.77:1 against #cdcf73, versus 1.64:1 for white — AAA at any size.

What is the complementary color of #cdcf73?

#7573CF sits directly opposite on the wheel. Softer options are the split-complements #739FCF and #A373CF, which give the same contrast with far less vibration.

What colors go well with #cdcf73?

For interface work: #FAFAF4 as the surface, #E9EAC2 for borders, #999B4B for secondary text, #6F86D3 as an accent and #5E5F21 for hover and pressed states. For a palette, the analogous pair #CFA373 and #9FCF73 stays calm, while #7573CF is the loudest partner.

What is #cdcf73 in CMYK for printing?

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

Is #cdcf73 warm or cool?

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

Work with #cdcf73 in the Color Lab