Skip to content

#cfcc68

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

RGB
207, 204, 104
HSL
58°, 52%, 61%
CMYK
0, 1, 50, 19
Luminance
0.5745

At a glance

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

Hex
#cfcc68
Hue
58°
yellow
Saturation
52%
vivid
Lightness
61%
balanced
Brightness
81%
HSV value
Perceived
77%
weighted brightness
Luminance
0.5745
WCAG relative
Temperature
Warm
24/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
12.49:1
Closest name
Dark Khaki
ΔE2000 6.2
Where it sits
Hue58° of 360°
Saturation52%
Lightness61%
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#cfcc68
RGBrgb(207, 204, 104)
HSLhsl(58, 52%, 61%)
CMYKcmyk(0%, 1%, 50%, 19%)
LABlab(80.4 -12.5 49.7)
LCHlch(80.4 51.2 104.1)
OKLCHoklch(0.827 0.123 107.3)
Decimal13618280
Display P3color(display-p3 0.812 0.800 0.408)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfcc68 on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#cfcc68 on black: 12.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DAC55F
deuteranopia · #DCCA6D
tritanopia · #DCC1B5

Color scale — 50 to 950

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

#FAFAF4
#F6F6EA
#EDECCF
#E4E2AA
#D6D47F
#cfcc68
#BAB63B
#9B9831
#7C7927
#5A5920
#383714
Base = 500Lightest = 50 · #FAFAF4Darkest = 950 · #383714
:root {
  --brand-50: #FAFAF4;
  --brand-100: #F6F6EA;
  --brand-200: #EDECCF;
  --brand-300: #E4E2AA;
  --brand-400: #D6D47F;
  --brand-500: #cfcc68;
  --brand-600: #BAB63B;
  --brand-700: #9B9831;
  --brand-800: #7C7927;
  --brand-900: #5A5920;
  --brand-950: #383714;
  --brand: #cfcc68;
  --brand-ink: #000000;
}

Colors that work with #cfcc68

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#EBEAC1
Hairlines and dividers
Muted text#9B994B
Captions on the surface
Accent#6483D3
Second voice, not a rival
Dark variant#615F1F
Hover, pressed, headers
Light variant#F9F8EC
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 #cfcc68

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#686BCF
Analogous left#CF9968
Analogous right#9ECF68
Split-complement 1#689ECF
Split-complement 2#9968CF
Triadic 1#68CFCC
Triadic 2#CC68CF
Tetradic#68CF99

RGB percentages

Red81.2%
Green80.0%
Blue40.8%

CMYK percentages

Cyan0.0%
Magenta1.4%
Yellow49.8%
Key (black)18.8%

Color previews

#cfcc68 text on a black background

contrast 12.49:1

Card sample

#cfcc68 text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfcc68

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.

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

#cfcc68, answered

What color is #cfcc68?

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

What is the RGB value of #cfcc68?

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

Is #cfcc68 a light or a dark color?

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

Should I use black or white text on #cfcc68?

Black. It scores 12.49:1 against #cfcc68, versus 1.68:1 for white — AAA at any size.

What is the complementary color of #cfcc68?

#686BCF sits directly opposite on the wheel. Softer options are the split-complements #689ECF and #9968CF, which give the same contrast with far less vibration.

What colors go well with #cfcc68?

For interface work: #FAFAF4 as the surface, #EBEAC1 for borders, #9B994B for secondary text, #6483D3 as an accent and #615F1F for hover and pressed states. For a palette, the analogous pair #CF9968 and #9ECF68 stays calm, while #686BCF is the loudest partner.

What is #cfcc68 in CMYK for printing?

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

Is #cfcc68 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 #CFA668; nudged cooler, #ADD166.

Work with #cfcc68 in the Color Lab