Skip to content

#cf8902

a dark, electric orange · warm · closest name: Dark Goldenrod

RGB
207, 137, 2
HSL
40°, 98%, 41%
CMYK
0, 34, 99, 19
Luminance
0.3116

At a glance

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

Hex
#cf8902
Hue
40°
orange
Saturation
98%
electric
Lightness
41%
dark
Brightness
81%
HSV value
Perceived
61%
weighted brightness
Luminance
0.3116
WCAG relative
Temperature
Warm
8/100 cool
Color family
Orange
Tone
Electric
Best ink
Black
7.23:1
Closest name
Dark Goldenrod
ΔE2000 5.7
Where it sits
Hue40° of 360°
Saturation98%
Lightness41%
Temperature
Warm ← → Cool8% 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#cf8902
RGBrgb(207, 137, 2)
HSLhsl(40, 98%, 41%)
CMYKcmyk(0%, 34%, 99%, 19%)
LABlab(62.6 18.3 67.8)
LCHlch(62.6 70.2 74.9)
OKLCHoklch(0.685 0.145 73.1)
Decimal13601026
Display P3color(display-p3 0.812 0.537 0.008)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cf8902 on white: 2.90:1
AA ✗ fail · AA-large · AAA
Aa
#cf8902 on black: 7.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A18D00
deuteranopia · #B29E0D
tritanopia · #E27774

Color scale — 50 to 950

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

#FDF9F1
#FCF4E3
#FBE7C1
#FED890
#FDC558
#FDB221
#F2A002
#cf8902
#A26B02
#744F06
#493104
Base = 700Lightest = 50 · #FDF9F1Darkest = 950 · #493104
:root {
  --brand-50: #FDF9F1;
  --brand-100: #FCF4E3;
  --brand-200: #FBE7C1;
  --brand-300: #FED890;
  --brand-400: #FDC558;
  --brand-500: #FDB221;
  --brand-600: #F2A002;
  --brand-700: #cf8902;
  --brand-800: #A26B02;
  --brand-900: #744F06;
  --brand-950: #493104;
  --brand: #cf8902;
  --brand-ink: #000000;
}

Colors that work with #cf8902

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#EDDDC0
Hairlines and dividers
Muted text#9B7F4B
Captions on the surface
Accent#007CD1
Second voice, not a rival
Dark variant#7E5401
Hover, pressed, headers
Light variant#FFF6E6
Selected rows, tints
Dark surface#241F14
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 #cf8902

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

Works well for
  • 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
  • Text of any size on white — fails WCAG AA
  • 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#0248CF
Analogous left#CF2202
Analogous right#AFCF02
Split-complement 1#02AFCF
Split-complement 2#2202CF
Triadic 1#02CF89
Triadic 2#8902CF
Tetradic#02CF22

RGB percentages

Red81.2%
Green53.7%
Blue0.8%

CMYK percentages

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

Color previews

#cf8902 text on a black background

contrast 7.23:1

Card sample

#cf8902 text on a white background

contrast 2.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cf8902

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.

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

#cf8902, answered

What color is #cf8902?

#cf8902 is a dark electric orange, closest to Dark Goldenrod (ΔE2000 5.7). It sits at 40° on the hue wheel with 98% saturation and 41% lightness, which reads as warm.

What is the RGB value of #cf8902?

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

Is #cf8902 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3116 and perceived brightness is 61%, so black text on it reaches 7.23:1.

Should I use black or white text on #cf8902?

Black. It scores 7.23:1 against #cf8902, versus 2.90:1 for white — AAA at any size.

What is the complementary color of #cf8902?

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

What colors go well with #cf8902?

For interface work: #FAF8F4 as the surface, #EDDDC0 for borders, #9B7F4B for secondary text, #007CD1 as an accent and #7E5401 for hover and pressed states. For a palette, the analogous pair #CF2202 and #AFCF02 stays calm, while #0248CF is the loudest partner.

What is #cf8902 in CMYK for printing?

cmyk(0%, 34%, 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 #cf8902 warm or cool?

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

Work with #cf8902 in the Color Lab