Skip to content

#cacd7f

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

RGB
202, 205, 127
HSL
62°, 44%, 65%
CMYK
2, 0, 38, 20
Luminance
0.5775

Every format

HEX#cacd7f
RGBrgb(202, 205, 127)
HSLhsl(62, 44%, 65%)
CMYKcmyk(2%, 0%, 38%, 20%)
LABlab(80.6 -12.7 38.5)
LCHlch(80.6 40.5 108.3)
OKLCHoklch(0.828 0.100 110.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cacd7f on white: 1.67:1
AA ✗ fail · AA-large · AAA
Aa
#cacd7f on black: 12.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green80.4%
Blue49.8%

CMYK percentages

Cyan1.5%
Magenta0.0%
Yellow38.0%
Key (black)19.6%

Color previews

#cacd7f text on a black background

contrast 12.55:1

Card sample

#cacd7f text on a white background

contrast 1.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(202, 205, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 205, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cacd7f;
background: linear-gradient(135deg, #cacd7f, #96CD7F);

Monochromatic scale

Palettes built from #cacd7f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cacd7f in the Color Lab