Skip to content

#ccc26d

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

RGB
204, 194, 109
HSL
54°, 48%, 61%
CMYK
0, 5, 47, 20
Luminance
0.5253

At a glance

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

Hex
#ccc26d
Hue
54°
yellow
Saturation
48%
vivid
Lightness
61%
balanced
Brightness
80%
HSV value
Perceived
74%
weighted brightness
Luminance
0.5253
WCAG relative
Temperature
Warm
20/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
11.51:1
Closest name
Dark Khaki
ΔE2000 3.5
Where it sits
Hue54° of 360°
Saturation48%
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#ccc26d
RGBrgb(204, 194, 109)
HSLhsl(54, 48%, 61%)
CMYKcmyk(0%, 5%, 47%, 20%)
LABlab(77.6 -8.2 43.8)
LCHlch(77.6 44.5 100.6)
OKLCHoklch(0.804 0.107 102.6)
Decimal13419117
Display P3color(display-p3 0.800 0.761 0.427)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc26d on white: 1.83:1
AA ✗ fail · AA-large · AAA
Aa
#ccc26d on black: 11.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D0BD66
deuteranopia · #D3C271
tritanopia · #D8B8AE

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ccc26d 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
#F5F4EA
#ECE9D0
#E2DCAC
#D3CB82
#ccc26d
#B5A93F
#978D35
#79712A
#585322
#373415
Base = 500Lightest = 50 · #FAFAF4Darkest = 950 · #373415
:root {
  --brand-50: #FAFAF4;
  --brand-100: #F5F4EA;
  --brand-200: #ECE9D0;
  --brand-300: #E2DCAC;
  --brand-400: #D3CB82;
  --brand-500: #ccc26d;
  --brand-600: #B5A93F;
  --brand-700: #978D35;
  --brand-800: #79712A;
  --brand-900: #585322;
  --brand-950: #373415;
  --brand: #ccc26d;
  --brand-ink: #000000;
}

Colors that work with #ccc26d

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#EAE6C3
Hairlines and dividers
Muted text#9B924B
Captions on the surface
Accent#698ED0
Second voice, not a rival
Dark variant#5E5821
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 #ccc26d

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#6D77CC
Analogous left#CC936D
Analogous right#A7CC6D
Split-complement 1#6DA7CC
Split-complement 2#936DCC
Triadic 1#6DCCC2
Triadic 2#C26DCC
Tetradic#6DCC93

RGB percentages

Red80.0%
Green76.1%
Blue42.7%

CMYK percentages

Cyan0.0%
Magenta4.9%
Yellow46.6%
Key (black)20.0%

Color previews

#ccc26d text on a black background

contrast 11.51:1

Card sample

#ccc26d text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 194, 109, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 194, 109, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc26d;
background: linear-gradient(135deg, #ccc26d, #97CC6D);

Monochromatic scale

Palettes built from #ccc26d

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.

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

#ccc26d, answered

What color is #ccc26d?

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

What is the RGB value of #ccc26d?

rgb(204, 194, 109) — 204 red, 194 green and 109 blue out of 255, or 80% / 76.1% / 42.7% by channel.

Is #ccc26d a light or a dark color?

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

Should I use black or white text on #ccc26d?

Black. It scores 11.51:1 against #ccc26d, versus 1.83:1 for white — AAA at any size.

What is the complementary color of #ccc26d?

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

What colors go well with #ccc26d?

For interface work: #FAFAF4 as the surface, #EAE6C3 for borders, #9B924B for secondary text, #698ED0 as an accent and #5E5821 for hover and pressed states. For a palette, the analogous pair #CC936D and #A7CC6D stays calm, while #6D77CC is the loudest partner.

What is #ccc26d in CMYK for printing?

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

Is #ccc26d 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 #CCA26D; nudged cooler, #B4CE6B.

Work with #ccc26d in the Color Lab