Skip to content

#cf5b02

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

RGB
207, 91, 2
HSL
26°, 98%, 41%
CMYK
0, 56, 99, 19
Luminance
0.2075

At a glance

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

Hex
#cf5b02
Hue
26°
orange
Saturation
98%
electric
Lightness
41%
dark
Brightness
81%
HSV value
Perceived
52%
weighted brightness
Luminance
0.2075
WCAG relative
Temperature
Warm
2/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
5.15:1
Closest name
Chocolate
ΔE2000 3.7
Where it sits
Hue26° of 360°
Saturation98%
Lightness41%
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#cf5b02
RGBrgb(207, 91, 2)
HSLhsl(26, 98%, 41%)
CMYKcmyk(0%, 56%, 99%, 19%)
LABlab(52.7 42.4 61.5)
LCHlch(52.7 74.7 55.4)
OKLCHoklch(0.608 0.167 47.3)
Decimal13589250
Display P3color(display-p3 0.812 0.357 0.008)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf5b02 on white: 4.08:1
AA ✗ fail · AA-large · AAA
Aa
#cf5b02 on black: 5.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7D6D00
deuteranopia · #998800
tritanopia · #E43E4E

Color scale — 50 to 950

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

#FDF7F1
#FCEEE3
#FBDAC1
#FEC090
#FDA058
#FD8021
#F26A02
#cf5b02
#A24702
#743606
#492204
Base = 700Lightest = 50 · #FDF7F1Darkest = 950 · #492204
:root {
  --brand-50: #FDF7F1;
  --brand-100: #FCEEE3;
  --brand-200: #FBDAC1;
  --brand-300: #FEC090;
  --brand-400: #FDA058;
  --brand-500: #FD8021;
  --brand-600: #F26A02;
  --brand-700: #cf5b02;
  --brand-800: #A24702;
  --brand-900: #743606;
  --brand-950: #492204;
  --brand: #cf5b02;
  --brand-ink: #000000;
}

Colors that work with #cf5b02

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#EDD3C0
Hairlines and dividers
Muted text#9B6D4B
Captions on the surface
Accent#00A7CC
Second voice, not a rival
Dark variant#7E3701
Hover, pressed, headers
Light variant#FFF1E6
Selected rows, tints
Dark surface#241B14
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 #cf5b02

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#0276CF
Analogous left#CF0210
Analogous right#CFC102
Split-complement 1#02CFC1
Split-complement 2#0210CF
Triadic 1#02CF5B
Triadic 2#5B02CF
Tetradic#10CF02

RGB percentages

Red81.2%
Green35.7%
Blue0.8%

CMYK percentages

Cyan0.0%
Magenta56.0%
Yellow99.0%
Key (black)18.8%

Color previews

#cf5b02 text on a black background

contrast 5.15:1

Card sample

#cf5b02 text on a white background

contrast 4.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf5b02

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.

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

#cf5b02, answered

What color is #cf5b02?

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

What is the RGB value of #cf5b02?

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

Is #cf5b02 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2075 and perceived brightness is 52%, so black text on it reaches 5.15:1.

Should I use black or white text on #cf5b02?

Black. It scores 5.15:1 against #cf5b02, versus 4.08:1 for white — AA at any size.

What is the complementary color of #cf5b02?

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

What colors go well with #cf5b02?

For interface work: #FAF7F4 as the surface, #EDD3C0 for borders, #9B6D4B for secondary text, #00A7CC as an accent and #7E3701 for hover and pressed states. For a palette, the analogous pair #CF0210 and #CFC102 stays calm, while #0276CF is the loudest partner.

What is #cf5b02 in CMYK for printing?

cmyk(0%, 56%, 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 #cf5b02 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 #E86502; nudged cooler, #D10E00.

Work with #cf5b02 in the Color Lab