Skip to content

#cac770

a balanced, vivid yellow · cool · closest name: khaki

RGB
202, 199, 112
HSL
58°, 46%, 62%
CMYK
0, 2, 45, 21
Luminance
0.5457

Every format

HEX#cac770
RGBrgb(202, 199, 112)
HSLhsl(58, 46%, 62%)
CMYKcmyk(0%, 2%, 45%, 21%)
LABlab(78.8 -11.2 43.7)
LCHlch(78.8 45.1 104.4)
OKLCHoklch(0.813 0.110 106.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cac770 on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#cac770 on black: 11.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green78.0%
Blue43.9%

CMYK percentages

Cyan0.0%
Magenta1.5%
Yellow44.6%
Key (black)20.8%

Color previews

#cac770 text on a black background

contrast 11.91:1

Card sample

#cac770 text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cac770

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cac770 in the Color Lab