Skip to content

#ca8f21

a balanced, vivid orange · warm · closest name: Dark Goldenrod

RGB
202, 143, 33
HSL
39°, 72%, 46%
CMYK
0, 29, 84, 21
Luminance
0.3231

At a glance

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

Hex
#ca8f21
Hue
39°
orange
Saturation
72%
vivid
Lightness
46%
balanced
Brightness
79%
HSV value
Perceived
61%
weighted brightness
Luminance
0.3231
WCAG relative
Temperature
Warm
8/100 cool
Color family
Orange
Tone
Vivid
Best ink
Black
7.46:1
Closest name
Dark Goldenrod
ΔE2000 4.5
Where it sits
Hue39° of 360°
Saturation72%
Lightness46%
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#ca8f21
RGBrgb(202, 143, 33)
HSLhsl(39, 72%, 46%)
CMYKcmyk(0%, 29%, 84%, 21%)
LABlab(63.6 13.4 61.7)
LCHlch(63.6 63.2 77.7)
OKLCHoklch(0.691 0.135 77.1)
Decimal13274913
Display P3color(display-p3 0.792 0.561 0.129)

Copy-ready code

/* CSS */
color: #ca8f21;
background-color: #ca8f21;
/* Tailwind (arbitrary) */
class="text-[#ca8f21] bg-[#ca8f21]"
/* SCSS */
$brand: #ca8f21;
/* SwiftUI */
Color(red: 0.792, green: 0.561, blue: 0.129)
/* Android */
Color.parseColor("#ca8f21")
/* Flutter */
Color(0xFFCA8F21)
/* Python / OpenCV (BGR) */
(33, 143, 202)

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 #ca8f21 · 7.46:1
Use #000000AAA at every size.
Aa
White text · 2.81:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.46:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ca8f21 as text scores 2.81:1 on white and 7.46:1 on black.

Accessibility — WCAG contrast

Aa
#ca8f21 on white: 2.81:1
AA ✗ fail · AA-large · AAA
Aa
#ca8f21 on black: 7.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #A59102
deuteranopia · #B3A026
tritanopia · #DC7F7B

Color scale — 50 to 950

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

#FCF9F3
#F8F2E7
#F3E4C9
#EFD39F
#E7BD6E
#DFA73E
#ca8f21
#AF7C1D
#8C6317
#664915
#402E0D
Base = 600Lightest = 50 · #FCF9F3Darkest = 950 · #402E0D
:root {
  --brand-50: #FCF9F3;
  --brand-100: #F8F2E7;
  --brand-200: #F3E4C9;
  --brand-300: #EFD39F;
  --brand-400: #E7BD6E;
  --brand-500: #DFA73E;
  --brand-600: #ca8f21;
  --brand-700: #AF7C1D;
  --brand-800: #8C6317;
  --brand-900: #664915;
  --brand-950: #402E0D;
  --brand: #ca8f21;
  --brand-ink: #000000;
}

Colors that work with #ca8f21

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#1C87CF
Second voice, not a rival
Dark variant#6E4E12
Hover, pressed, headers
Light variant#FBF5E9
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 #ca8f21

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
  • 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
  • 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#215CCA
Analogous left#CA3B21
Analogous right#B0CA21
Split-complement 1#21B0CA
Split-complement 2#3B21CA
Triadic 1#21CA8F
Triadic 2#8F21CA
Tetradic#21CA3B

RGB percentages

Red79.2%
Green56.1%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta29.2%
Yellow83.7%
Key (black)20.8%

Color previews

#ca8f21 text on a black background

contrast 7.46:1

Card sample

#ca8f21 text on a white background

contrast 2.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(202, 143, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 143, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ca8f21;
background: linear-gradient(135deg, #ca8f21, #94CA21);

Monochromatic scale

Palettes built from #ca8f21

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.

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

#ca8f21, answered

What color is #ca8f21?

#ca8f21 is a balanced vivid orange, closest to Dark Goldenrod (ΔE2000 4.5). It sits at 39° on the hue wheel with 72% saturation and 46% lightness, which reads as warm.

What is the RGB value of #ca8f21?

rgb(202, 143, 33) — 202 red, 143 green and 33 blue out of 255, or 79.2% / 56.1% / 12.9% by channel.

Is #ca8f21 a light or a dark color?

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

Should I use black or white text on #ca8f21?

Black. It scores 7.46:1 against #ca8f21, versus 2.81:1 for white — AAA at any size.

What is the complementary color of #ca8f21?

#215CCA sits directly opposite on the wheel. Softer options are the split-complements #21B0CA and #3B21CA, which give the same contrast with far less vibration.

What colors go well with #ca8f21?

For interface work: #FAF8F4 as the surface, #EDDDC0 for borders, #9B7F4B for secondary text, #1C87CF as an accent and #6E4E12 for hover and pressed states. For a palette, the analogous pair #CA3B21 and #B0CA21 stays calm, while #215CCA is the loudest partner.

What is #ca8f21 in CMYK for printing?

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

Is #ca8f21 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 #CA7921; nudged cooler, #C9CC1F.

Work with #ca8f21 in the Color Lab