Toolman

#CA8A04 color

#CA8A04#CA8A04

The swatch above shows #CA8A04 with its hex code written on it in white and in black, so you can see which of the two is legible before reading the measured ratios below.

#CA8A04 is a medium, vivid orange, closest to the CSS named color darkgoldenrod (#B8860B).

It is also a Tailwind CSS default: yellow-600. That means you can write bg-yellow-600 or text-yellow-600 directly, with no arbitrary-value brackets and no entry in your theme config.

Color values

HEX#CA8A04
RGBrgb(202, 138, 4)
HSLhsl(41, 96%, 40%)
CMYKcmyk(0%, 32%, 98%, 21%)
Decimal13273604
CSScolor: #CA8A04;
Android0xFFCA8A04
SwiftUIColor(red: 0.792, green: 0.541, blue: 0.016, alpha: 1)

Accessibility and contrast

White text on #CA8A042.94:1 — AA fail · AA large fail · AAA fail
Black text on #CA8A047.15:1 — AA pass · AA large pass · AAA pass
Recommended text colorblack

WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).

Tints and shades of #CA8A04

Each swatch keeps the hue and saturation of #CA8A04 and varies only lightness — the quickest way to build a usable scale from a single brand color.

95%
85%
75%
65%
55%
45%
35%
25%
15%

Colors that go with #CA8A04

Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.

Complementary
Triadic +120°
Triadic +240°
Analogous −30°
Analogous +30°
Split −150°
Split +150°

Using #CA8A04 in code

/* CSS */
.element { color: #CA8A04; background-color: #CA8A04; }
.element { color: rgb(202 138 4); }
.element { color: hsl(41 96% 40%); }

/* Tailwind */
<div class="bg-yellow-600 text-black">

/* SCSS variable */
$brand: #CA8A04;

Frequently asked questions

What color is #CA8A04?

#CA8A04 is a medium, vivid orange. Its hue sits at 41° on the color wheel, with 96% saturation and 40% lightness.

What is #CA8A04 in RGB?

#CA8A04 converts to rgb(202, 138, 4) — 202 red, 138 green and 4 blue.

What is #CA8A04 in CMYK?

Approximately cmyk(0%, 32%, 98%, 21%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.

Should text on #CA8A04 be white or black?

Black gives the better contrast ratio (7.15:1 versus 2.94:1).

What is the complementary color of #CA8A04?

#0442C8 — the hue directly opposite #CA8A04 on the color wheel.

Convert any color → · Browse all colors