Skip to content

#cf9313

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

RGB
207, 147, 19
HSL
41°, 83%, 44%
CMYK
0, 29, 91, 19
Luminance
0.3418

At a glance

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

Hex
#cf9313
Hue
41°
yellow
Saturation
83%
electric
Lightness
44%
dark
Brightness
81%
HSV value
Perceived
63%
weighted brightness
Luminance
0.3418
WCAG relative
Temperature
Warm
9/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
7.84:1
Closest name
Dark Goldenrod
ΔE2000 5.4
Where it sits
Hue41° of 360°
Saturation83%
Lightness44%
Temperature
Warm ← → Cool9% 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#cf9313
RGBrgb(207, 147, 19)
HSLhsl(41, 83%, 44%)
CMYKcmyk(0%, 29%, 91%, 19%)
LABlab(65.1 13.1 66.8)
LCHlch(65.1 68.1 78.9)
OKLCHoklch(0.704 0.143 78.6)
Decimal13603603
Display P3color(display-p3 0.812 0.576 0.075)

Copy-ready code

/* CSS */
color: #cf9313;
background-color: #cf9313;
/* Tailwind (arbitrary) */
class="text-[#cf9313] bg-[#cf9313]"
/* SCSS */
$brand: #cf9313;
/* SwiftUI */
Color(red: 0.812, green: 0.576, blue: 0.075)
/* Android */
Color.parseColor("#cf9313")
/* Flutter */
Color(0xFFCF9313)
/* Python / OpenCV (BGR) */
(19, 147, 207)

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

Accessibility — WCAG contrast

Aa
#cf9313 on white: 2.68:1
AA ✗ fail · AA-large · AAA
Aa
#cf9313 on black: 7.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #AA9500
deuteranopia · #B8A41C
tritanopia · #E2827D

Color scale — 50 to 950

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

#FCF9F2
#FAF3E6
#F6E7C6
#F6D898
#F1C465
#ECB131
#cf9313
#BB8511
#956A0E
#6C4E0E
#443109
Base = 600Lightest = 50 · #FCF9F2Darkest = 950 · #443109
:root {
  --brand-50: #FCF9F2;
  --brand-100: #FAF3E6;
  --brand-200: #F6E7C6;
  --brand-300: #F6D898;
  --brand-400: #F1C465;
  --brand-500: #ECB131;
  --brand-600: #cf9313;
  --brand-700: #BB8511;
  --brand-800: #956A0E;
  --brand-900: #6C4E0E;
  --brand-950: #443109;
  --brand: #cf9313;
  --brand-ink: #000000;
}

Colors that work with #cf9313

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#FAF8F4
Tinted page background
Border#EDDEC0
Hairlines and dividers
Muted text#9B814B
Captions on the surface
Accent#0E7ED3
Second voice, not a rival
Dark variant#75530B
Hover, pressed, headers
Light variant#FDF6E8
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 #cf9313

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#134FCF
Analogous left#CF3513
Analogous right#ADCF13
Split-complement 1#13ADCF
Split-complement 2#3513CF
Triadic 1#13CF93
Triadic 2#9313CF
Tetradic#13CF35

RGB percentages

Red81.2%
Green57.6%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta29.0%
Yellow90.8%
Key (black)18.8%

Color previews

#cf9313 text on a black background

contrast 7.84:1

Card sample

#cf9313 text on a white background

contrast 2.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 147, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 147, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cf9313;
background: linear-gradient(135deg, #cf9313, #8DCF13);

Monochromatic scale

Palettes built from #cf9313

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.

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

#cf9313, answered

What color is #cf9313?

#cf9313 is a dark electric yellow, closest to Dark Goldenrod (ΔE2000 5.4). It sits at 41° on the hue wheel with 83% saturation and 44% lightness, which reads as warm.

What is the RGB value of #cf9313?

rgb(207, 147, 19) — 207 red, 147 green and 19 blue out of 255, or 81.2% / 57.6% / 7.5% by channel.

Is #cf9313 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3418 and perceived brightness is 63%, so black text on it reaches 7.84:1.

Should I use black or white text on #cf9313?

Black. It scores 7.84:1 against #cf9313, versus 2.68:1 for white — AAA at any size.

What is the complementary color of #cf9313?

#134FCF sits directly opposite on the wheel. Softer options are the split-complements #13ADCF and #3513CF, which give the same contrast with far less vibration.

What colors go well with #cf9313?

For interface work: #FAF8F4 as the surface, #EDDEC0 for borders, #9B814B for secondary text, #0E7ED3 as an accent and #75530B for hover and pressed states. For a palette, the analogous pair #CF3513 and #ADCF13 stays calm, while #134FCF is the loudest partner.

What is #cf9313 in CMYK for printing?

cmyk(0%, 29%, 91%, 19%). 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 #cf9313 warm or cool?

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

Work with #cf9313 in the Color Lab