Skip to content

#cacf80

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

RGB
202, 207, 128
HSL
64°, 45%, 66%
CMYK
2, 0, 38, 19
Luminance
0.5874

Every format

HEX#cacf80
RGBrgb(202, 207, 128)
HSLhsl(64, 45%, 66%)
CMYKcmyk(2%, 0%, 38%, 19%)
LABlab(81.2 -13.6 38.7)
LCHlch(81.2 41.0 109.4)
OKLCHoklch(0.833 0.102 111.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cacf80 on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#cacf80 on black: 12.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green81.2%
Blue50.2%

CMYK percentages

Cyan2.4%
Magenta0.0%
Yellow38.2%
Key (black)18.8%

Color previews

#cacf80 text on a black background

contrast 12.75:1

Card sample

#cacf80 text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cacf80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cacf80 in the Color Lab