Skip to content

#ccc83d

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

RGB
204, 200, 61
HSL
58°, 58%, 52%
CMYK
0, 2, 70, 20
Luminance
0.5448

At a glance

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

Hex
#ccc83d
Hue
58°
yellow
Saturation
58%
vivid
Lightness
52%
balanced
Brightness
80%
HSV value
Perceived
75%
weighted brightness
Luminance
0.5448
WCAG relative
Temperature
Warm
24/100 cool
Color family
Yellow
Tone
Vivid
Best ink
Black
11.90:1
Closest name
Dark Khaki
ΔE2000 8.9
Where it sits
Hue58° of 360°
Saturation58%
Lightness52%
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#ccc83d
RGBrgb(204, 200, 61)
HSLhsl(58, 58%, 52%)
CMYKcmyk(0%, 2%, 70%, 20%)
LABlab(78.7 -14.7 66.2)
LCHlch(78.7 67.8 102.5)
OKLCHoklch(0.812 0.154 107.7)
Decimal13420605
Display P3color(display-p3 0.800 0.784 0.239)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccc83d on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#ccc83d on black: 11.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #D9C026
deuteranopia · #DBC547
tritanopia · #DBBBAD

Color scale — 50 to 950

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

#FBFBF4
#F7F6E9
#EFEECD
#E8E6A6
#DCD97A
#ccc83d
#C2BE33
#A29E2A
#817F22
#5E5C1C
#3B3A12
Base = 500Lightest = 50 · #FBFBF4Darkest = 950 · #3B3A12
:root {
  --brand-50: #FBFBF4;
  --brand-100: #F7F6E9;
  --brand-200: #EFEECD;
  --brand-300: #E8E6A6;
  --brand-400: #DCD97A;
  --brand-500: #ccc83d;
  --brand-600: #C2BE33;
  --brand-700: #A29E2A;
  --brand-800: #817F22;
  --brand-900: #5E5C1C;
  --brand-950: #3B3A12;
  --brand: #ccc83d;
  --brand-ink: #000000;
}

Colors that work with #ccc83d

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#EDEBC0
Hairlines and dividers
Muted text#9B994B
Captions on the surface
Accent#3863D1
Second voice, not a rival
Dark variant#65631B
Hover, pressed, headers
Light variant#FAF9EB
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 #ccc83d

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#3D41CC
Analogous left#CC813D
Analogous right#89CC3D
Split-complement 1#3D89CC
Split-complement 2#813DCC
Triadic 1#3DCCC8
Triadic 2#C83DCC
Tetradic#3DCC81

RGB percentages

Red80.0%
Green78.4%
Blue23.9%

CMYK percentages

Cyan0.0%
Magenta2.0%
Yellow70.1%
Key (black)20.0%

Color previews

#ccc83d text on a black background

contrast 11.90:1

Card sample

#ccc83d text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 200, 61, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 200, 61, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccc83d;
background: linear-gradient(135deg, #ccc83d, #71CC3D);

Monochromatic scale

Palettes built from #ccc83d

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.

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

#ccc83d, answered

What color is #ccc83d?

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

What is the RGB value of #ccc83d?

rgb(204, 200, 61) — 204 red, 200 green and 61 blue out of 255, or 80% / 78.4% / 23.9% by channel.

Is #ccc83d a light or a dark color?

It is a light color. Relative luminance is 0.5448 and perceived brightness is 75%, so black text on it reaches 11.90:1.

Should I use black or white text on #ccc83d?

Black. It scores 11.90:1 against #ccc83d, versus 1.77:1 for white — AAA at any size.

What is the complementary color of #ccc83d?

#3D41CC sits directly opposite on the wheel. Softer options are the split-complements #3D89CC and #813DCC, which give the same contrast with far less vibration.

What colors go well with #ccc83d?

For interface work: #FAFAF4 as the surface, #EDEBC0 for borders, #9B994B for secondary text, #3863D1 as an accent and #65631B for hover and pressed states. For a palette, the analogous pair #CC813D and #89CC3D stays calm, while #3D41CC is the loudest partner.

What is #ccc83d in CMYK for printing?

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

Is #ccc83d 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 #CC983D; nudged cooler, #9DCF3B.

Work with #ccc83d in the Color Lab