Skip to content

#caf4ac

a light, electric green · cool · closest name: khaki

RGB
202, 244, 172
HSL
95°, 77%, 82%
CMYK
17, 0, 30, 4
Luminance
0.8024

Every format

HEX#caf4ac
RGBrgb(202, 244, 172)
HSLhsl(95, 77%, 82%)
CMYKcmyk(17%, 0%, 30%, 4%)
LABlab(91.8 -26.0 30.4)
LCHlch(91.8 40.0 130.6)
OKLCHoklch(0.920 0.104 132.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#caf4ac on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#caf4ac on black: 17.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green95.7%
Blue67.5%

CMYK percentages

Cyan17.2%
Magenta0.0%
Yellow29.5%
Key (black)4.3%

Color previews

#caf4ac text on a black background

contrast 17.05:1

Card sample

#caf4ac text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #caf4ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #caf4ac in the Color Lab