Skip to content

#c78c01

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

RGB
199, 140, 1
HSL
42°, 99%, 39%
CMYK
0, 30, 100, 22
Luminance
0.3090

At a glance

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

Hex
#c78c01
Hue
42°
yellow
Saturation
99%
electric
Lightness
39%
dark
Brightness
78%
HSV value
Perceived
60%
weighted brightness
Luminance
0.3090
WCAG relative
Temperature
Warm
10/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
7.18:1
Closest name
Dark Goldenrod
ΔE2000 3.4
Where it sits
Hue42° of 360°
Saturation99%
Lightness39%
Temperature
Warm ← → Cool10% 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#c78c01
RGBrgb(199, 140, 1)
HSLhsl(42, 99%, 39%)
CMYKcmyk(0%, 30%, 100%, 22%)
LABlab(62.4 13.2 67.3)
LCHlch(62.4 68.6 78.9)
OKLCHoklch(0.681 0.141 78.7)
Decimal13077505
Display P3color(display-p3 0.780 0.549 0.004)

Copy-ready code

/* CSS */
color: #c78c01;
background-color: #c78c01;
/* Tailwind (arbitrary) */
class="text-[#c78c01] bg-[#c78c01]"
/* SCSS */
$brand: #c78c01;
/* SwiftUI */
Color(red: 0.780, green: 0.549, blue: 0.004)
/* Android */
Color.parseColor("#c78c01")
/* Flutter */
Color(0xFFC78C01)
/* Python / OpenCV (BGR) */
(1, 140, 199)

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

Accessibility — WCAG contrast

Aa
#c78c01 on white: 2.92:1
AA ✗ fail · AA-large · AAA
Aa
#c78c01 on black: 7.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A28E00
deuteranopia · #B09D0F
tritanopia · #D97B77

Color scale — 50 to 950

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

#FEFAF1
#FCF5E3
#FBEAC0
#FEDD8F
#FECC58
#FEBC20
#F4AB01
#c78c01
#A27201
#755405
#493403
Base = 700Lightest = 50 · #FEFAF1Darkest = 950 · #493403
:root {
  --brand-50: #FEFAF1;
  --brand-100: #FCF5E3;
  --brand-200: #FBEAC0;
  --brand-300: #FEDD8F;
  --brand-400: #FECC58;
  --brand-500: #FEBC20;
  --brand-600: #F4AB01;
  --brand-700: #c78c01;
  --brand-800: #A27201;
  --brand-900: #755405;
  --brand-950: #493403;
  --brand: #c78c01;
  --brand-ink: #000000;
}

Colors that work with #c78c01

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#FAF9F4
Tinted page background
Border#EDDFC0
Hairlines and dividers
Muted text#9B834B
Captions on the surface
Accent#006EC8
Second voice, not a rival
Dark variant#7F5901
Hover, pressed, headers
Light variant#FFF7E6
Selected rows, tints
Dark surface#241F14
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 #c78c01

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#013CC7
Analogous left#C72901
Analogous right#9FC701
Split-complement 1#019FC7
Split-complement 2#2901C7
Triadic 1#01C78C
Triadic 2#8C01C7
Tetradic#01C729

RGB percentages

Red78.0%
Green54.9%
Blue0.4%

CMYK percentages

Cyan0.0%
Magenta29.6%
Yellow99.5%
Key (black)22.0%

Color previews

#c78c01 text on a black background

contrast 7.18:1

Card sample

#c78c01 text on a white background

contrast 2.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(199, 140, 1, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(199, 140, 1, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c78c01;
background: linear-gradient(135deg, #c78c01, #7EC701);

Monochromatic scale

Palettes built from #c78c01

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.

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

#c78c01, answered

What color is #c78c01?

#c78c01 is a dark electric yellow, closest to Dark Goldenrod (ΔE2000 3.4). It sits at 42° on the hue wheel with 99% saturation and 39% lightness, which reads as warm.

What is the RGB value of #c78c01?

rgb(199, 140, 1) — 199 red, 140 green and 1 blue out of 255, or 78% / 54.9% / 0.4% by channel.

Is #c78c01 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3090 and perceived brightness is 60%, so black text on it reaches 7.18:1.

Should I use black or white text on #c78c01?

Black. It scores 7.18:1 against #c78c01, versus 2.92:1 for white — AAA at any size.

What is the complementary color of #c78c01?

#013CC7 sits directly opposite on the wheel. Softer options are the split-complements #019FC7 and #2901C7, which give the same contrast with far less vibration.

What colors go well with #c78c01?

For interface work: #FAF9F4 as the surface, #EDDFC0 for borders, #9B834B for secondary text, #006EC8 as an accent and #7F5901 for hover and pressed states. For a palette, the analogous pair #C72901 and #9FC701 stays calm, while #013CC7 is the loudest partner.

What is #c78c01 in CMYK for printing?

cmyk(0%, 30%, 100%, 22%). 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 #c78c01 warm or cool?

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

Work with #c78c01 in the Color Lab