Skip to content

#cd7c0f

a dark, electric orange · warm · closest name: Peru

RGB
205, 124, 15
HSL
34°, 86%, 43%
CMYK
0, 40, 93, 20
Luminance
0.2743

At a glance

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

Hex
#cd7c0f
Hue
34°
orange
Saturation
86%
electric
Lightness
43%
dark
Brightness
80%
HSV value
Perceived
58%
weighted brightness
Luminance
0.2743
WCAG relative
Temperature
Warm
4/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
6.49:1
Closest name
Peru
ΔE2000 5
Where it sits
Hue34° of 360°
Saturation86%
Lightness43%
Temperature
Warm ← → Cool4% 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#cd7c0f
RGBrgb(205, 124, 15)
HSLhsl(34, 86%, 43%)
CMYKcmyk(0%, 40%, 93%, 20%)
LABlab(59.4 24.7 63.3)
LCHlch(59.4 67.9 68.7)
OKLCHoklch(0.659 0.144 64.8)
Decimal13466639
Display P3color(display-p3 0.804 0.486 0.059)

Copy-ready code

/* CSS */
color: #cd7c0f;
background-color: #cd7c0f;
/* Tailwind (arbitrary) */
class="text-[#cd7c0f] bg-[#cd7c0f]"
/* SCSS */
$brand: #cd7c0f;
/* SwiftUI */
Color(red: 0.804, green: 0.486, blue: 0.059)
/* Android */
Color.parseColor("#cd7c0f")
/* Flutter */
Color(0xFFCD7C0F)
/* Python / OpenCV (BGR) */
(15, 124, 205)

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

Accessibility — WCAG contrast

Aa
#cd7c0f on white: 3.24:1
AA ✗ fail · AA-large · AAA
Aa
#cd7c0f on black: 6.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #968400
deuteranopia · #A99612
tritanopia · #E1696A

Color scale — 50 to 950

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

#FDF8F2
#FAF1E5
#F7E2C5
#F7CE96
#F4B662
#F09D2E
#E48A11
#cd7c0f
#985C0B
#6E440D
#452B08
Base = 700Lightest = 50 · #FDF8F2Darkest = 950 · #452B08
:root {
  --brand-50: #FDF8F2;
  --brand-100: #FAF1E5;
  --brand-200: #F7E2C5;
  --brand-300: #F7CE96;
  --brand-400: #F4B662;
  --brand-500: #F09D2E;
  --brand-600: #E48A11;
  --brand-700: #cd7c0f;
  --brand-800: #985C0B;
  --brand-900: #6E440D;
  --brand-950: #452B08;
  --brand: #cd7c0f;
  --brand-ink: #000000;
}

Colors that work with #cd7c0f

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#EDD9C0
Hairlines and dividers
Muted text#9B794B
Captions on the surface
Accent#0B91D1
Second voice, not a rival
Dark variant#774809
Hover, pressed, headers
Light variant#FDF4E7
Selected rows, tints
Dark surface#241D14
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 #cd7c0f

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • 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
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#0F60CD
Analogous left#CD1D0F
Analogous right#BFCD0F
Split-complement 1#0FBFCD
Split-complement 2#1D0FCD
Triadic 1#0FCD7C
Triadic 2#7C0FCD
Tetradic#0FCD1D

RGB percentages

Red80.4%
Green48.6%
Blue5.9%

CMYK percentages

Cyan0.0%
Magenta39.5%
Yellow92.7%
Key (black)19.6%

Color previews

#cd7c0f text on a black background

contrast 6.49:1

Card sample

#cd7c0f text on a white background

contrast 3.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 124, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 124, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cd7c0f;
background: linear-gradient(135deg, #cd7c0f, #9FCD0F);

Monochromatic scale

Palettes built from #cd7c0f

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.

#cd7c0f in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
E-commerceFood deliveryLogisticsCreator tools
Common UI roles
ButtonsLinksFocus statesCharts
Print note

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

#cd7c0f, answered

What color is #cd7c0f?

#cd7c0f is a dark electric orange, closest to Peru (ΔE2000 5). It sits at 34° on the hue wheel with 86% saturation and 43% lightness, which reads as warm.

What is the RGB value of #cd7c0f?

rgb(205, 124, 15) — 205 red, 124 green and 15 blue out of 255, or 80.4% / 48.6% / 5.9% by channel.

Is #cd7c0f a light or a dark color?

It is a mid-tone. Relative luminance is 0.2743 and perceived brightness is 58%, so black text on it reaches 6.49:1.

Should I use black or white text on #cd7c0f?

Black. It scores 6.49:1 against #cd7c0f, versus 3.24:1 for white — AA at any size.

What is the complementary color of #cd7c0f?

#0F60CD sits directly opposite on the wheel. Softer options are the split-complements #0FBFCD and #1D0FCD, which give the same contrast with far less vibration.

What colors go well with #cd7c0f?

For interface work: #FAF8F4 as the surface, #EDD9C0 for borders, #9B794B for secondary text, #0B91D1 as an accent and #774809 for hover and pressed states. For a palette, the analogous pair #CD1D0F and #BFCD0F stays calm, while #0F60CD is the loudest partner.

What is #cd7c0f in CMYK for printing?

cmyk(0%, 40%, 93%, 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 #cd7c0f warm or cool?

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

Work with #cd7c0f in the Color Lab