Skip to content

#cafd9b

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

RGB
202, 253, 155
HSL
91°, 96%, 80%
CMYK
20, 0, 39, 1
Luminance
0.8517

Every format

HEX#cafd9b
RGBrgb(202, 253, 155)
HSLhsl(91, 96%, 80%)
CMYKcmyk(20%, 0%, 39%, 1%)
LABlab(94.0 -32.5 41.7)
LCHlch(94.0 52.9 128.0)
OKLCHoklch(0.936 0.136 131.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cafd9b on white: 1.16:1
AA ✗ fail · AA-large · AAA
Aa
#cafd9b on black: 18.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green99.2%
Blue60.8%

CMYK percentages

Cyan20.2%
Magenta0.0%
Yellow38.7%
Key (black)0.8%

Color previews

#cafd9b text on a black background

contrast 18.03:1

Card sample

#cafd9b text on a white background

contrast 1.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(202, 253, 155, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 253, 155, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cafd9b;
background: linear-gradient(135deg, #cafd9b, #9BFDAD);

Monochromatic scale

Palettes built from #cafd9b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cafd9b in the Color Lab