Skip to content

#cac710

a dark, electric yellow · cool · closest name: gold

RGB
202, 199, 16
HSL
59°, 85%, 43%
CMYK
0, 2, 92, 21
Luminance
0.5344

Every format

HEX#cac710
RGBrgb(202, 199, 16)
HSLhsl(59, 85%, 43%)
CMYKcmyk(0%, 2%, 92%, 21%)
LABlab(78.1 -16.4 77.0)
LCHlch(78.1 78.8 102.0)
OKLCHoklch(0.806 0.172 108.6)

Copy-ready code

/* CSS */
color: #cac710;
background-color: #cac710;
/* Tailwind (arbitrary) */
class="text-[#cac710] bg-[#cac710]"
/* SCSS */
$brand: #cac710;
/* SwiftUI */
Color(red: 0.792, green: 0.780, blue: 0.063)
/* Android */
Color.parseColor("#cac710")

Accessibility — WCAG contrast

Aa
#cac710 on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#cac710 on black: 11.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green78.0%
Blue6.3%

CMYK percentages

Cyan0.0%
Magenta1.5%
Yellow92.1%
Key (black)20.8%

Color previews

#cac710 text on a black background

contrast 11.69:1

Card sample

#cac710 text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(202, 199, 16, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 199, 16, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cac710;
background: linear-gradient(135deg, #cac710, #51CA10);

Monochromatic scale

Palettes built from #cac710

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cac710 in the Color Lab