Skip to content

#cf6c02

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

RGB
207, 108, 2
HSL
31°, 98%, 41%
CMYK
0, 48, 99, 19
Luminance
0.2399

At a glance

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

Hex
#cf6c02
Hue
31°
orange
Saturation
98%
electric
Lightness
41%
dark
Brightness
81%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2399
WCAG relative
Temperature
Warm
1/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
5.80:1
Closest name
Chocolate
ΔE2000 3.9
Where it sits
Hue31° of 360°
Saturation98%
Lightness41%
Temperature
Warm ← → Cool1% 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#cf6c02
RGBrgb(207, 108, 2)
HSLhsl(31, 98%, 41%)
CMYKcmyk(0%, 48%, 99%, 19%)
LABlab(56.1 33.9 63.5)
LCHlch(56.1 72.0 61.9)
OKLCHoklch(0.634 0.155 55.6)
Decimal13593602
Display P3color(display-p3 0.812 0.424 0.008)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf6c02 on white: 3.62:1
AA ✗ fail · AA-large · AAA
Aa
#cf6c02 on black: 5.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8A7800
deuteranopia · #A18F00
tritanopia · #E3555C

Color scale — 50 to 950

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

#FDF8F1
#FCF0E3
#FBDFC1
#FEC990
#FDAE58
#FD9221
#F27E02
#cf6c02
#A25402
#743F06
#492704
Base = 700Lightest = 50 · #FDF8F1Darkest = 950 · #492704
:root {
  --brand-50: #FDF8F1;
  --brand-100: #FCF0E3;
  --brand-200: #FBDFC1;
  --brand-300: #FEC990;
  --brand-400: #FDAE58;
  --brand-500: #FD9221;
  --brand-600: #F27E02;
  --brand-700: #cf6c02;
  --brand-800: #A25402;
  --brand-900: #743F06;
  --brand-950: #492704;
  --brand: #cf6c02;
  --brand-ink: #000000;
}

Colors that work with #cf6c02

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#EDD7C0
Hairlines and dividers
Muted text#9B744B
Captions on the surface
Accent#0099D1
Second voice, not a rival
Dark variant#7E4201
Hover, pressed, headers
Light variant#FFF3E6
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 #cf6c02

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#0265CF
Analogous left#CF0502
Analogous right#CCCF02
Split-complement 1#02CCCF
Split-complement 2#0502CF
Triadic 1#02CF6C
Triadic 2#6C02CF
Tetradic#02CF05

RGB percentages

Red81.2%
Green42.4%
Blue0.8%

CMYK percentages

Cyan0.0%
Magenta47.8%
Yellow99.0%
Key (black)18.8%

Color previews

#cf6c02 text on a black background

contrast 5.80:1

Card sample

#cf6c02 text on a white background

contrast 3.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf6c02

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.

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

#cf6c02, answered

What color is #cf6c02?

#cf6c02 is a dark electric orange, closest to Chocolate (ΔE2000 3.9). It sits at 31° on the hue wheel with 98% saturation and 41% lightness, which reads as warm.

What is the RGB value of #cf6c02?

rgb(207, 108, 2) — 207 red, 108 green and 2 blue out of 255, or 81.2% / 42.4% / 0.8% by channel.

Is #cf6c02 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2399 and perceived brightness is 55%, so black text on it reaches 5.80:1.

Should I use black or white text on #cf6c02?

Black. It scores 5.80:1 against #cf6c02, versus 3.62:1 for white — AA at any size.

What is the complementary color of #cf6c02?

#0265CF sits directly opposite on the wheel. Softer options are the split-complements #02CCCF and #0502CF, which give the same contrast with far less vibration.

What colors go well with #cf6c02?

For interface work: #FAF7F4 as the surface, #EDD7C0 for borders, #9B744B for secondary text, #0099D1 as an accent and #7E4201 for hover and pressed states. For a palette, the analogous pair #CF0502 and #CCCF02 stays calm, while #0265CF is the loudest partner.

What is #cf6c02 in CMYK for printing?

cmyk(0%, 48%, 99%, 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 #cf6c02 warm or cool?

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

Work with #cf6c02 in the Color Lab