Skip to content

#cd7c1f

a balanced, vivid orange · warm · closest name: Peru

RGB
205, 124, 31
HSL
32°, 74%, 46%
CMYK
0, 40, 85, 20
Luminance
0.2749

At a glance

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

Hex
#cd7c1f
Hue
32°
orange
Saturation
74%
vivid
Lightness
46%
balanced
Brightness
80%
HSV value
Perceived
58%
weighted brightness
Luminance
0.2749
WCAG relative
Temperature
Warm
2/100 cool
Color family
Orange
Tone
Vivid
Best ink
Black
6.50:1
Closest name
Peru
ΔE2000 3.9
Where it sits
Hue32° of 360°
Saturation74%
Lightness46%
Temperature
Warm ← → Cool2% 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#cd7c1f
RGBrgb(205, 124, 31)
HSLhsl(32, 74%, 46%)
CMYKcmyk(0%, 40%, 85%, 20%)
LABlab(59.4 25.0 59.0)
LCHlch(59.4 64.1 67.0)
OKLCHoklch(0.659 0.140 63.0)
Decimal13466655
Display P3color(display-p3 0.804 0.486 0.122)

Copy-ready code

/* CSS */
color: #cd7c1f;
background-color: #cd7c1f;
/* Tailwind (arbitrary) */
class="text-[#cd7c1f] bg-[#cd7c1f]"
/* SCSS */
$brand: #cd7c1f;
/* SwiftUI */
Color(red: 0.804, green: 0.486, blue: 0.122)
/* Android */
Color.parseColor("#cd7c1f")
/* Flutter */
Color(0xFFCD7C1F)
/* Python / OpenCV (BGR) */
(31, 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 #cd7c1f · 6.50:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.23:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.50:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #cd7c1f as text scores 3.23:1 on white and 6.50:1 on black.

Accessibility — WCAG contrast

Aa
#cd7c1f on white: 3.23:1
AA ✗ fail · AA-large · AAA
Aa
#cd7c1f on black: 6.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #958408
deuteranopia · #A99620
tritanopia · #E0696B

Color scale — 50 to 950

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

#FCF8F3
#F8F0E7
#F3DFC8
#F0CA9E
#E9AF6D
#E1953C
#cd7c1f
#B16B1B
#8E5615
#674014
#40280C
Base = 600Lightest = 50 · #FCF8F3Darkest = 950 · #40280C
:root {
  --brand-50: #FCF8F3;
  --brand-100: #F8F0E7;
  --brand-200: #F3DFC8;
  --brand-300: #F0CA9E;
  --brand-400: #E9AF6D;
  --brand-500: #E1953C;
  --brand-600: #cd7c1f;
  --brand-700: #B16B1B;
  --brand-800: #8E5615;
  --brand-900: #674014;
  --brand-950: #40280C;
  --brand: #cd7c1f;
  --brand-ink: #000000;
}

Colors that work with #cd7c1f

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#EDD8C0
Hairlines and dividers
Muted text#9B764B
Captions on the surface
Accent#1688B6
Second voice, not a rival
Dark variant#6F4311
Hover, pressed, headers
Light variant#FCF3E9
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 #cd7c1f

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
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • 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#1F70CD
Analogous left#CD251F
Analogous right#C7CD1F
Split-complement 1#1FC7CD
Split-complement 2#251FCD
Triadic 1#1FCD7C
Triadic 2#7C1FCD
Tetradic#1FCD25

RGB percentages

Red80.4%
Green48.6%
Blue12.2%

CMYK percentages

Cyan0.0%
Magenta39.5%
Yellow84.9%
Key (black)19.6%

Color previews

#cd7c1f text on a black background

contrast 6.50:1

Card sample

#cd7c1f text on a white background

contrast 3.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cd7c1f

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.

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

Converts to four-color process without much drama. Proof it anyway.

#cd7c1f, answered

What color is #cd7c1f?

#cd7c1f is a balanced vivid orange, closest to Peru (ΔE2000 3.9). It sits at 32° on the hue wheel with 74% saturation and 46% lightness, which reads as warm.

What is the RGB value of #cd7c1f?

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

Is #cd7c1f a light or a dark color?

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

Should I use black or white text on #cd7c1f?

Black. It scores 6.50:1 against #cd7c1f, versus 3.23:1 for white — AA at any size.

What is the complementary color of #cd7c1f?

#1F70CD sits directly opposite on the wheel. Softer options are the split-complements #1FC7CD and #251FCD, which give the same contrast with far less vibration.

What colors go well with #cd7c1f?

For interface work: #FAF8F4 as the surface, #EDD8C0 for borders, #9B764B for secondary text, #1688B6 as an accent and #6F4311 for hover and pressed states. For a palette, the analogous pair #CD251F and #C7CD1F stays calm, while #1F70CD is the loudest partner.

What is #cd7c1f in CMYK for printing?

cmyk(0%, 40%, 85%, 20%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #cd7c1f warm or cool?

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

Work with #cd7c1f in the Color Lab