Skip to content

#cacf96

a light, soft yellow · cool · closest name: tan

RGB
202, 207, 150
HSL
65°, 37%, 70%
CMYK
2, 0, 28, 19
Luminance
0.5938

Every format

HEX#cacf96
RGBrgb(202, 207, 150)
HSLhsl(65, 37%, 70%)
CMYKcmyk(2%, 0%, 28%, 19%)
LABlab(81.5 -10.9 27.8)
LCHlch(81.5 29.9 111.3)
OKLCHoklch(0.837 0.075 112.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cacf96 on white: 1.63:1
AA ✗ fail · AA-large · AAA
Aa
#cacf96 on black: 12.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green81.2%
Blue58.8%

CMYK percentages

Cyan2.4%
Magenta0.0%
Yellow27.5%
Key (black)18.8%

Color previews

#cacf96 text on a black background

contrast 12.88:1

Card sample

#cacf96 text on a white background

contrast 1.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cacf96

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cacf96 in the Color Lab