Skip to content

#caf1af

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

RGB
202, 241, 175
HSL
96°, 70%, 82%
CMYK
16, 0, 27, 6
Luminance
0.7856

Every format

HEX#caf1af
RGBrgb(202, 241, 175)
HSLhsl(96, 70%, 82%)
CMYKcmyk(16%, 0%, 27%, 6%)
LABlab(91.0 -24.1 27.9)
LCHlch(91.0 36.9 130.9)
OKLCHoklch(0.914 0.096 132.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#caf1af on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#caf1af on black: 16.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green94.5%
Blue68.6%

CMYK percentages

Cyan16.2%
Magenta0.0%
Yellow27.4%
Key (black)5.5%

Color previews

#caf1af text on a black background

contrast 16.71:1

Card sample

#caf1af text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #caf1af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #caf1af in the Color Lab