Skip to content

#dc9f13

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

RGB
220, 159, 19
HSL
42°, 84%, 47%
CMYK
0, 28, 91, 14
Luminance
0.4006

At a glance

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

Hex
#dc9f13
Hue
42°
yellow
Saturation
84%
electric
Lightness
47%
balanced
Brightness
86%
HSV value
Perceived
67%
weighted brightness
Luminance
0.4006
WCAG relative
Temperature
Warm
10/100 cool
Color family
Yellow
Tone
Electric
Best ink
Black
9.01:1
Closest name
Goldenrod
ΔE2000 2.5
Where it sits
Hue42° of 360°
Saturation84%
Lightness47%
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#dc9f13
RGBrgb(220, 159, 19)
HSLhsl(42, 84%, 47%)
CMYKcmyk(0%, 28%, 91%, 14%)
LABlab(69.5 12.3 70.8)
LCHlch(69.5 71.8 80.1)
OKLCHoklch(0.742 0.150 80.3)
Decimal14458643
Display P3color(display-p3 0.863 0.624 0.075)

Copy-ready code

/* CSS */
color: #dc9f13;
background-color: #dc9f13;
/* Tailwind (arbitrary) */
class="text-[#dc9f13] bg-[#dc9f13]"
/* SCSS */
$brand: #dc9f13;
/* SwiftUI */
Color(red: 0.863, green: 0.624, blue: 0.075)
/* Android */
Color.parseColor("#dc9f13")
/* Flutter */
Color(0xFFDC9F13)
/* Python / OpenCV (BGR) */
(19, 159, 220)

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

Accessibility — WCAG contrast

Aa
#dc9f13 on white: 2.33:1
AA ✗ fail · AA-large · AAA
Aa
#dc9f13 on black: 9.01:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B7A100
deuteranopia · #C5B01E
tritanopia · #F08D88

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #dc9f13 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
#FAF4E6
#F6E8C5
#F6D998
#F2C764
#EDB430
#dc9f13
#BC8810
#966D0D
#6D500E
#443209
Base = 600Lightest = 50 · #FCF9F2Darkest = 950 · #443209
:root {
  --brand-50: #FCF9F2;
  --brand-100: #FAF4E6;
  --brand-200: #F6E8C5;
  --brand-300: #F6D998;
  --brand-400: #F2C764;
  --brand-500: #EDB430;
  --brand-600: #dc9f13;
  --brand-700: #BC8810;
  --brand-800: #966D0D;
  --brand-900: #6D500E;
  --brand-950: #443209;
  --brand: #dc9f13;
  --brand-ink: #000000;
}

Colors that work with #dc9f13

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#0E83E1
Second voice, not a rival
Dark variant#75550A
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 #dc9f13

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#1350DC
Analogous left#DC3B13
Analogous right#B5DC13
Split-complement 1#13B5DC
Split-complement 2#3B13DC
Triadic 1#13DC9F
Triadic 2#9F13DC
Tetradic#13DC3B

RGB percentages

Red86.3%
Green62.4%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta27.7%
Yellow91.4%
Key (black)13.7%

Color previews

#dc9f13 text on a black background

contrast 9.01:1

Card sample

#dc9f13 text on a white background

contrast 2.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(220, 159, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(220, 159, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #dc9f13;
background: linear-gradient(135deg, #dc9f13, #93DC13);

Monochromatic scale

Palettes built from #dc9f13

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.

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

#dc9f13, answered

What color is #dc9f13?

#dc9f13 is a balanced electric yellow, closest to Goldenrod (ΔE2000 2.5). It sits at 42° on the hue wheel with 84% saturation and 47% lightness, which reads as warm.

What is the RGB value of #dc9f13?

rgb(220, 159, 19) — 220 red, 159 green and 19 blue out of 255, or 86.3% / 62.4% / 7.5% by channel.

Is #dc9f13 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4006 and perceived brightness is 67%, so black text on it reaches 9.01:1.

Should I use black or white text on #dc9f13?

Black. It scores 9.01:1 against #dc9f13, versus 2.33:1 for white — AAA at any size.

What is the complementary color of #dc9f13?

#1350DC sits directly opposite on the wheel. Softer options are the split-complements #13B5DC and #3B13DC, which give the same contrast with far less vibration.

What colors go well with #dc9f13?

For interface work: #FAF9F4 as the surface, #EDDFC0 for borders, #9B834B for secondary text, #0E83E1 as an accent and #75550A for hover and pressed states. For a palette, the analogous pair #DC3B13 and #B5DC13 stays calm, while #1350DC is the loudest partner.

What is #dc9f13 in CMYK for printing?

cmyk(0%, 28%, 91%, 14%). 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 #dc9f13 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 #DC8213; nudged cooler, #D2DF11.

Work with #dc9f13 in the Color Lab