Skip to content

#ccc064

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

RGB
204, 192, 100
HSL
53°, 51%, 60%
CMYK
0, 6, 51, 20
Luminance
0.5146

At a glance

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

Hex
#ccc064
Hue
53°
yellow
Saturation
51%
vivid
Lightness
60%
balanced
Brightness
80%
HSV value
Perceived
74%
weighted brightness
Luminance
0.5146
WCAG relative
Temperature
Warm
19/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
11.29:1
Closest name
Dark Khaki
ΔE2000 4
Where it sits
Hue53° of 360°
Saturation51%
Lightness60%
Temperature
Warm ← → Cool19% 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#ccc064
RGBrgb(204, 192, 100)
HSLhsl(53, 51%, 60%)
CMYKcmyk(0%, 6%, 51%, 20%)
LABlab(77.0 -8.0 47.4)
LCHlch(77.0 48.1 99.5)
OKLCHoklch(0.799 0.115 101.9)
Decimal13418596
Display P3color(display-p3 0.800 0.753 0.392)

Copy-ready code

/* CSS */
color: #ccc064;
background-color: #ccc064;
/* Tailwind (arbitrary) */
class="text-[#ccc064] bg-[#ccc064]"
/* SCSS */
$brand: #ccc064;
/* SwiftUI */
Color(red: 0.800, green: 0.753, blue: 0.392)
/* Android */
Color.parseColor("#ccc064")
/* Flutter */
Color(0xFFCCC064)
/* Python / OpenCV (BGR) */
(100, 192, 204)

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

Accessibility — WCAG contrast

Aa
#ccc064 on white: 1.86:1
AA ✗ fail · AA-large · AAA
Aa
#ccc064 on black: 11.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CFBB5C
deuteranopia · #D2C068
tritanopia · #D9B5AB

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ccc064 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
#F6F4EA
#EDE9CF
#E3DDAB
#D5CC80
#ccc064
#B8AA3D
#9A8E32
#7B7128
#5A5321
#383414
Base = 500Lightest = 50 · #FAFAF4Darkest = 950 · #383414
:root {
  --brand-50: #FAFAF4;
  --brand-100: #F6F4EA;
  --brand-200: #EDE9CF;
  --brand-300: #E3DDAB;
  --brand-400: #D5CC80;
  --brand-500: #ccc064;
  --brand-600: #B8AA3D;
  --brand-700: #9A8E32;
  --brand-800: #7B7128;
  --brand-900: #5A5321;
  --brand-950: #383414;
  --brand: #ccc064;
  --brand-ink: #000000;
}

Colors that work with #ccc064

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#EBE6C2
Hairlines and dividers
Muted text#9B924B
Captions on the surface
Accent#6089D0
Second voice, not a rival
Dark variant#605920
Hover, pressed, headers
Light variant#F9F7EC
Selected rows, tints
Dark surface#242314
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 #ccc064

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#6470CC
Analogous left#CC8C64
Analogous right#A4CC64
Split-complement 1#64A4CC
Split-complement 2#8C64CC
Triadic 1#64CCC0
Triadic 2#C064CC
Tetradic#64CC8C

RGB percentages

Red80.0%
Green75.3%
Blue39.2%

CMYK percentages

Cyan0.0%
Magenta5.9%
Yellow51.0%
Key (black)20.0%

Color previews

#ccc064 text on a black background

contrast 11.29:1

Card sample

#ccc064 text on a white background

contrast 1.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 192, 100, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 192, 100, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc064;
background: linear-gradient(135deg, #ccc064, #93CC64);

Monochromatic scale

Palettes built from #ccc064

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.

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

#ccc064, answered

What color is #ccc064?

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

What is the RGB value of #ccc064?

rgb(204, 192, 100) — 204 red, 192 green and 100 blue out of 255, or 80% / 75.3% / 39.2% by channel.

Is #ccc064 a light or a dark color?

It is a light color. Relative luminance is 0.5146 and perceived brightness is 74%, so black text on it reaches 11.29:1.

Should I use black or white text on #ccc064?

Black. It scores 11.29:1 against #ccc064, versus 1.86:1 for white — AAA at any size.

What is the complementary color of #ccc064?

#6470CC sits directly opposite on the wheel. Softer options are the split-complements #64A4CC and #8C64CC, which give the same contrast with far less vibration.

What colors go well with #ccc064?

For interface work: #FAFAF4 as the surface, #EBE6C2 for borders, #9B924B for secondary text, #6089D0 as an accent and #605920 for hover and pressed states. For a palette, the analogous pair #CC8C64 and #A4CC64 stays calm, while #6470CC is the loudest partner.

What is #ccc064 in CMYK for printing?

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

Is #ccc064 warm or cool?

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

Work with #ccc064 in the Color Lab