Skip to content

#cfcc60

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

RGB
207, 204, 96
HSL
58°, 54%, 59%
CMYK
0, 1, 54, 19
Luminance
0.5730

At a glance

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

Hex
#cfcc60
Hue
58°
yellow
Saturation
54%
vivid
Lightness
59%
balanced
Brightness
81%
HSV value
Perceived
77%
weighted brightness
Luminance
0.5730
WCAG relative
Temperature
Warm
24/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
12.46:1
Closest name
Dark Khaki
ΔE2000 6.9
Where it sits
Hue58° of 360°
Saturation54%
Lightness59%
Temperature
Warm ← → Cool24% 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#cfcc60
RGBrgb(207, 204, 96)
HSLhsl(58, 54%, 59%)
CMYKcmyk(0%, 1%, 54%, 19%)
LABlab(80.3 -13.2 53.3)
LCHlch(80.3 54.9 103.9)
OKLCHoklch(0.826 0.131 107.5)
Decimal13618272
Display P3color(display-p3 0.812 0.800 0.376)

Copy-ready code

/* CSS */
color: #cfcc60;
background-color: #cfcc60;
/* Tailwind (arbitrary) */
class="text-[#cfcc60] bg-[#cfcc60]"
/* SCSS */
$brand: #cfcc60;
/* SwiftUI */
Color(red: 0.812, green: 0.800, blue: 0.376)
/* Android */
Color.parseColor("#cfcc60")
/* Flutter */
Color(0xFFCFCC60)
/* Python / OpenCV (BGR) */
(96, 204, 207)

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

Accessibility — WCAG contrast

Aa
#cfcc60 on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#cfcc60 on black: 12.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DBC555
deuteranopia · #DDC966
tritanopia · #DCC1B4

Color scale — 50 to 950

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

#FBFAF4
#F6F6E9
#EDEDCE
#E5E3A9
#D8D67E
#cfcc60
#BCB939
#9D9A2F
#7D7B26
#5B5A1F
#393813
Base = 500Lightest = 50 · #FBFAF4Darkest = 950 · #393813
:root {
  --brand-50: #FBFAF4;
  --brand-100: #F6F6E9;
  --brand-200: #EDEDCE;
  --brand-300: #E5E3A9;
  --brand-400: #D8D67E;
  --brand-500: #cfcc60;
  --brand-600: #BCB939;
  --brand-700: #9D9A2F;
  --brand-800: #7D7B26;
  --brand-900: #5B5A1F;
  --brand-950: #393813;
  --brand: #cfcc60;
  --brand-ink: #000000;
}

Colors that work with #cfcc60

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#ECEBC0
Hairlines and dividers
Muted text#9B994B
Captions on the surface
Accent#5C7DD3
Second voice, not a rival
Dark variant#62601E
Hover, pressed, headers
Light variant#F9F9EB
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 #cfcc60

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#6063CF
Analogous left#CF9560
Analogous right#9ACF60
Split-complement 1#609ACF
Split-complement 2#9560CF
Triadic 1#60CFCC
Triadic 2#CC60CF
Tetradic#60CF95

RGB percentages

Red81.2%
Green80.0%
Blue37.6%

CMYK percentages

Cyan0.0%
Magenta1.4%
Yellow53.6%
Key (black)18.8%

Color previews

#cfcc60 text on a black background

contrast 12.46:1

Card sample

#cfcc60 text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 204, 96, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 204, 96, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfcc60;
background: linear-gradient(135deg, #cfcc60, #88CF60);

Monochromatic scale

Palettes built from #cfcc60

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.

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

#cfcc60, answered

What color is #cfcc60?

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

What is the RGB value of #cfcc60?

rgb(207, 204, 96) — 207 red, 204 green and 96 blue out of 255, or 81.2% / 80% / 37.6% by channel.

Is #cfcc60 a light or a dark color?

It is a light color. Relative luminance is 0.5730 and perceived brightness is 77%, so black text on it reaches 12.46:1.

Should I use black or white text on #cfcc60?

Black. It scores 12.46:1 against #cfcc60, versus 1.69:1 for white — AAA at any size.

What is the complementary color of #cfcc60?

#6063CF sits directly opposite on the wheel. Softer options are the split-complements #609ACF and #9560CF, which give the same contrast with far less vibration.

What colors go well with #cfcc60?

For interface work: #FAFAF4 as the surface, #ECEBC0 for borders, #9B994B for secondary text, #5C7DD3 as an accent and #62601E for hover and pressed states. For a palette, the analogous pair #CF9560 and #9ACF60 stays calm, while #6063CF is the loudest partner.

What is #cfcc60 in CMYK for printing?

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

Is #cfcc60 warm or cool?

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

Work with #cfcc60 in the Color Lab