Skip to content

#cecc69

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

RGB
206, 204, 105
HSL
59°, 51%, 61%
CMYK
0, 1, 49, 19
Luminance
0.5733

At a glance

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

Hex
#cecc69
Hue
59°
yellow
Saturation
51%
vivid
Lightness
61%
balanced
Brightness
81%
HSV value
Perceived
77%
weighted brightness
Luminance
0.5733
WCAG relative
Temperature
Warm
24/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
12.47:1
Closest name
Dark Khaki
ΔE2000 6.2
Where it sits
Hue59° of 360°
Saturation51%
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#cecc69
RGBrgb(206, 204, 105)
HSLhsl(59, 51%, 61%)
CMYKcmyk(0%, 1%, 49%, 19%)
LABlab(80.4 -12.8 49.1)
LCHlch(80.4 50.8 104.6)
OKLCHoklch(0.826 0.122 107.8)
Decimal13552745
Display P3color(display-p3 0.808 0.800 0.412)

Copy-ready code

/* CSS */
color: #cecc69;
background-color: #cecc69;
/* Tailwind (arbitrary) */
class="text-[#cecc69] bg-[#cecc69]"
/* SCSS */
$brand: #cecc69;
/* SwiftUI */
Color(red: 0.808, green: 0.800, blue: 0.412)
/* Android */
Color.parseColor("#cecc69")
/* Flutter */
Color(0xFFCECC69)
/* Python / OpenCV (BGR) */
(105, 204, 206)

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

Accessibility — WCAG contrast

Aa
#cecc69 on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#cecc69 on black: 12.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #DAC560
deuteranopia · #DCC96E
tritanopia · #DAC1B5

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cecc69 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
#E3E2AA
#D6D480
#cecc69
#B9B63C
#9A9832
#7B7928
#5A5921
#383714
Base = 500Lightest = 50 · #FAFAF4Darkest = 950 · #383714
:root {
  --brand-50: #FAFAF4;
  --brand-100: #F6F6EA;
  --brand-200: #EDECCF;
  --brand-300: #E3E2AA;
  --brand-400: #D6D480;
  --brand-500: #cecc69;
  --brand-600: #B9B63C;
  --brand-700: #9A9832;
  --brand-800: #7B7928;
  --brand-900: #5A5921;
  --brand-950: #383714;
  --brand: #cecc69;
  --brand-ink: #000000;
}

Colors that work with #cecc69

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#6582D2
Second voice, not a rival
Dark variant#605F1F
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 #cecc69

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#696BCE
Analogous left#CE9A69
Analogous right#9ECE69
Split-complement 1#699ECE
Split-complement 2#9A69CE
Triadic 1#69CECC
Triadic 2#CC69CE
Tetradic#69CE9A

RGB percentages

Red80.8%
Green80.0%
Blue41.2%

CMYK percentages

Cyan0.0%
Magenta1.0%
Yellow49.0%
Key (black)19.2%

Color previews

#cecc69 text on a black background

contrast 12.47:1

Card sample

#cecc69 text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cecc69

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.

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

#cecc69, answered

What color is #cecc69?

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

What is the RGB value of #cecc69?

rgb(206, 204, 105) — 206 red, 204 green and 105 blue out of 255, or 80.8% / 80% / 41.2% by channel.

Is #cecc69 a light or a dark color?

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

Should I use black or white text on #cecc69?

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

What is the complementary color of #cecc69?

#696BCE sits directly opposite on the wheel. Softer options are the split-complements #699ECE and #9A69CE, which give the same contrast with far less vibration.

What colors go well with #cecc69?

For interface work: #FAFAF4 as the surface, #EBEAC1 for borders, #9B994B for secondary text, #6582D2 as an accent and #605F1F for hover and pressed states. For a palette, the analogous pair #CE9A69 and #9ECE69 stays calm, while #696BCE is the loudest partner.

What is #cecc69 in CMYK for printing?

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

Is #cecc69 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 #CEA769; nudged cooler, #ACD067.

Work with #cecc69 in the Color Lab