Skip to content

#cc7c2f

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

RGB
204, 124, 47
HSL
29°, 63%, 49%
CMYK
0, 39, 77, 20
Luminance
0.2746

At a glance

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

Hex
#cc7c2f
Hue
29°
orange
Saturation
63%
vivid
Lightness
49%
balanced
Brightness
80%
HSV value
Perceived
58%
weighted brightness
Luminance
0.2746
WCAG relative
Temperature
Warm
0/100 cool
Color family
Orange
Tone
Vivid
Best ink
Black
6.49:1
Closest name
Peru
ΔE2000 2.8
Where it sits
Hue29° of 360°
Saturation63%
Lightness49%
Temperature
Warm ← → Cool0% 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#cc7c2f
RGBrgb(204, 124, 47)
HSLhsl(29, 63%, 49%)
CMYKcmyk(0%, 39%, 77%, 20%)
LABlab(59.4 25.1 52.8)
LCHlch(59.4 58.4 64.6)
OKLCHoklch(0.659 0.133 60.3)
Decimal13401135
Display P3color(display-p3 0.800 0.486 0.184)

Copy-ready code

/* CSS */
color: #cc7c2f;
background-color: #cc7c2f;
/* Tailwind (arbitrary) */
class="text-[#cc7c2f] bg-[#cc7c2f]"
/* SCSS */
$brand: #cc7c2f;
/* SwiftUI */
Color(red: 0.800, green: 0.486, blue: 0.184)
/* Android */
Color.parseColor("#cc7c2f")
/* Flutter */
Color(0xFFCC7C2F)
/* Python / OpenCV (BGR) */
(47, 124, 204)

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 #cc7c2f · 6.49: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.49:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #cc7c2f as text scores 3.23:1 on white and 6.49:1 on black.

Accessibility — WCAG contrast

Aa
#cc7c2f on white: 3.23:1
AA ✗ fail · AA-large · AAA
Aa
#cc7c2f on black: 6.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #948424
deuteranopia · #A79630
tritanopia · #DF6A6C

Color scale — 50 to 950

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

#FBF7F4
#F7F0E8
#F0DDCC
#EAC6A4
#DFAA76
#D58D49
#cc7c2f
#A66526
#85511F
#603C1A
#3C2610
Base = 600Lightest = 50 · #FBF7F4Darkest = 950 · #3C2610
:root {
  --brand-50: #FBF7F4;
  --brand-100: #F7F0E8;
  --brand-200: #F0DDCC;
  --brand-300: #EAC6A4;
  --brand-400: #DFAA76;
  --brand-500: #D58D49;
  --brand-600: #cc7c2f;
  --brand-700: #A66526;
  --brand-800: #85511F;
  --brand-900: #603C1A;
  --brand-950: #3C2610;
  --brand: #cc7c2f;
  --brand-ink: #000000;
}

Colors that work with #cc7c2f

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#FAF7F4
Tinted page background
Border#EDD6C0
Hairlines and dividers
Muted text#9B724B
Captions on the surface
Accent#2289AA
Second voice, not a rival
Dark variant#683F18
Hover, pressed, headers
Light variant#FAF2EA
Selected rows, tints
Dark surface#241C14
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 #cc7c2f

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#2F7FCC
Analogous left#CC2F31
Analogous right#CCCA2F
Split-complement 1#2FCCCA
Split-complement 2#2F31CC
Triadic 1#2FCC7C
Triadic 2#7C2FCC
Tetradic#31CC2F

RGB percentages

Red80.0%
Green48.6%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta39.2%
Yellow77.0%
Key (black)20.0%

Color previews

#cc7c2f text on a black background

contrast 6.49:1

Card sample

#cc7c2f text on a white background

contrast 3.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc7c2f

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.

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

#cc7c2f, answered

What color is #cc7c2f?

#cc7c2f is a balanced vivid orange, closest to Peru (ΔE2000 2.8). It sits at 29° on the hue wheel with 63% saturation and 49% lightness, which reads as warm.

What is the RGB value of #cc7c2f?

rgb(204, 124, 47) — 204 red, 124 green and 47 blue out of 255, or 80% / 48.6% / 18.4% by channel.

Is #cc7c2f a light or a dark color?

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

Should I use black or white text on #cc7c2f?

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

What is the complementary color of #cc7c2f?

#2F7FCC sits directly opposite on the wheel. Softer options are the split-complements #2FCCCA and #2F31CC, which give the same contrast with far less vibration.

What colors go well with #cc7c2f?

For interface work: #FAF7F4 as the surface, #EDD6C0 for borders, #9B724B for secondary text, #2289AA as an accent and #683F18 for hover and pressed states. For a palette, the analogous pair #CC2F31 and #CCCA2F stays calm, while #2F7FCC is the loudest partner.

What is #cc7c2f in CMYK for printing?

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

Is #cc7c2f warm or cool?

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

Work with #cc7c2f in the Color Lab