Skip to content

#ccb607

a dark, electric yellow · warm · closest name: Goldenrod

RGB
204, 182, 7
HSL
53°, 93%, 41%
CMYK
0, 11, 97, 20
Luminance
0.4631

At a glance

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

Hex
#ccb607
Hue
53°
yellow
Saturation
93%
electric
Lightness
41%
dark
Brightness
80%
HSV value
Perceived
70%
weighted brightness
Luminance
0.4631
WCAG relative
Temperature
Warm
19/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
10.26:1
Closest name
Goldenrod
ΔE2000 9.7
Where it sits
Hue53° of 360°
Saturation93%
Lightness41%
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#ccb607
RGBrgb(204, 182, 7)
HSLhsl(53, 93%, 41%)
CMYKcmyk(0%, 11%, 97%, 20%)
LABlab(73.8 -7.0 74.8)
LCHlch(73.8 75.2 95.3)
OKLCHoklch(0.771 0.160 100.5)
Decimal13415943
Display P3color(display-p3 0.800 0.714 0.027)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ccb607 on white: 2.05:1
AA ✗ fail · AA-large · AAA
Aa
#ccb607 on black: 10.26:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C9B100
deuteranopia · #CFB921
tritanopia · #DDA79B

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ccb607 is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FDFCF2
#FBF9E4
#F9F3C2
#FBF093
#F9E85C
#F8E026
#EDD308
#ccb607
#9E8D05
#726609
#474005
Base = 700Lightest = 50 · #FDFCF2Darkest = 950 · #474005
:root {
  --brand-50: #FDFCF2;
  --brand-100: #FBF9E4;
  --brand-200: #F9F3C2;
  --brand-300: #FBF093;
  --brand-400: #F9E85C;
  --brand-500: #F8E026;
  --brand-600: #EDD308;
  --brand-700: #ccb607;
  --brand-800: #9E8D05;
  --brand-900: #726609;
  --brand-950: #474005;
  --brand: #ccb607;
  --brand-ink: #000000;
}

Colors that work with #ccb607

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#EDE8C0
Hairlines and dividers
Muted text#9B924B
Captions on the surface
Accent#034DD0
Second voice, not a rival
Dark variant#7B6E04
Hover, pressed, headers
Light variant#FEFBE6
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 #ccb607

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
  • Headers, footers and dark-mode surfaces
  • 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
  • Black text placed on it
  • 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#071DCC
Analogous left#CC5407
Analogous right#80CC07
Split-complement 1#0780CC
Split-complement 2#5407CC
Triadic 1#07CCB6
Triadic 2#B607CC
Tetradic#07CC54

RGB percentages

Red80.0%
Green71.4%
Blue2.7%

CMYK percentages

Cyan0.0%
Magenta10.8%
Yellow96.6%
Key (black)20.0%

Color previews

#ccb607 text on a black background

contrast 10.26:1

Card sample

#ccb607 text on a white background

contrast 2.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(204, 182, 7, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(204, 182, 7, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ccb607;
background: linear-gradient(135deg, #ccb607, #5FCC07);

Monochromatic scale

Palettes built from #ccb607

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.

#ccb607 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#ccb607, answered

What color is #ccb607?

#ccb607 is a dark electric yellow, closest to Goldenrod (ΔE2000 9.7). It sits at 53° on the hue wheel with 93% saturation and 41% lightness, which reads as warm.

What is the RGB value of #ccb607?

rgb(204, 182, 7) — 204 red, 182 green and 7 blue out of 255, or 80% / 71.4% / 2.7% by channel.

Is #ccb607 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4631 and perceived brightness is 70%, so black text on it reaches 10.26:1.

Should I use black or white text on #ccb607?

Black. It scores 10.26:1 against #ccb607, versus 2.05:1 for white — AAA at any size.

What is the complementary color of #ccb607?

#071DCC sits directly opposite on the wheel. Softer options are the split-complements #0780CC and #5407CC, which give the same contrast with far less vibration.

What colors go well with #ccb607?

For interface work: #FAFAF4 as the surface, #EDE8C0 for borders, #9B924B for secondary text, #034DD0 as an accent and #7B6E04 for hover and pressed states. For a palette, the analogous pair #CC5407 and #80CC07 stays calm, while #071DCC is the loudest partner.

What is #ccb607 in CMYK for printing?

cmyk(0%, 11%, 97%, 20%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #ccb607 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 #CC8507; nudged cooler, #9BCE05.

Work with #ccb607 in the Color Lab