Skip to content

#ccc36b

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

RGB
204, 195, 107
HSL
54°, 49%, 61%
CMYK
0, 4, 48, 20
Luminance
0.5293

At a glance

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

Hex
#ccc36b
Hue
54°
yellow
Saturation
49%
vivid
Lightness
61%
balanced
Brightness
80%
HSV value
Perceived
74%
weighted brightness
Luminance
0.5293
WCAG relative
Temperature
Warm
20/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
11.59:1
Closest name
Dark Khaki
ΔE2000 3.8
Where it sits
Hue54° of 360°
Saturation49%
Lightness61%
Temperature
Warm ← → Cool20% 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#ccc36b
RGBrgb(204, 195, 107)
HSLhsl(54, 49%, 61%)
CMYKcmyk(0%, 4%, 48%, 20%)
LABlab(77.8 -8.9 45.1)
LCHlch(77.8 45.9 101.1)
OKLCHoklch(0.806 0.111 103.4)
Decimal13419371
Display P3color(display-p3 0.800 0.765 0.420)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc36b on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#ccc36b on black: 11.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D1BE63
deuteranopia · #D4C36F
tritanopia · #D8B9AE

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ccc36b 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
#ECE9D0
#E2DDAC
#D4CC82
#ccc36b
#B6AB3F
#988E34
#79722A
#595422
#373415
Base = 500Lightest = 50 · #FAFAF4Darkest = 950 · #373415
:root {
  --brand-50: #FAFAF4;
  --brand-100: #F6F4EA;
  --brand-200: #ECE9D0;
  --brand-300: #E2DDAC;
  --brand-400: #D4CC82;
  --brand-500: #ccc36b;
  --brand-600: #B6AB3F;
  --brand-700: #988E34;
  --brand-800: #79722A;
  --brand-900: #595422;
  --brand-950: #373415;
  --brand: #ccc36b;
  --brand-ink: #000000;
}

Colors that work with #ccc36b

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#EAE6C2
Hairlines and dividers
Muted text#9B934B
Captions on the surface
Accent#678BD0
Second voice, not a rival
Dark variant#5F5921
Hover, pressed, headers
Light variant#F8F7EC
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 #ccc36b

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#6B74CC
Analogous left#CC936B
Analogous right#A5CC6B
Split-complement 1#6BA5CC
Split-complement 2#936BCC
Triadic 1#6BCCC3
Triadic 2#C36BCC
Tetradic#6BCC93

RGB percentages

Red80.0%
Green76.5%
Blue42.0%

CMYK percentages

Cyan0.0%
Magenta4.4%
Yellow47.5%
Key (black)20.0%

Color previews

#ccc36b text on a black background

contrast 11.59:1

Card sample

#ccc36b text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 195, 107, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 195, 107, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc36b;
background: linear-gradient(135deg, #ccc36b, #94CC6B);

Monochromatic scale

Palettes built from #ccc36b

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.

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

#ccc36b, answered

What color is #ccc36b?

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

What is the RGB value of #ccc36b?

rgb(204, 195, 107) — 204 red, 195 green and 107 blue out of 255, or 80% / 76.5% / 42% by channel.

Is #ccc36b a light or a dark color?

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

Should I use black or white text on #ccc36b?

Black. It scores 11.59:1 against #ccc36b, versus 1.81:1 for white — AAA at any size.

What is the complementary color of #ccc36b?

#6B74CC sits directly opposite on the wheel. Softer options are the split-complements #6BA5CC and #936BCC, which give the same contrast with far less vibration.

What colors go well with #ccc36b?

For interface work: #FAFAF4 as the surface, #EAE6C2 for borders, #9B934B for secondary text, #678BD0 as an accent and #5F5921 for hover and pressed states. For a palette, the analogous pair #CC936B and #A5CC6B stays calm, while #6B74CC is the loudest partner.

What is #ccc36b in CMYK for printing?

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

Is #ccc36b warm or cool?

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

Work with #ccc36b in the Color Lab