Skip to content

#caffb4

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

RGB
202, 255, 180
HSL
102°, 100%, 85%
CMYK
21, 0, 29, 0
Luminance
0.8737

Every format

HEX#caffb4
RGBrgb(202, 255, 180)
HSLhsl(102, 100%, 85%)
CMYKcmyk(21%, 0%, 29%, 0%)
LABlab(94.9 -30.0 30.5)
LCHlch(94.9 42.8 134.5)
OKLCHoklch(0.945 0.112 136.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#caffb4 on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#caffb4 on black: 18.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green100.0%
Blue70.6%

CMYK percentages

Cyan20.8%
Magenta0.0%
Yellow29.4%
Key (black)0.0%

Color previews

#caffb4 text on a black background

contrast 18.47:1

Card sample

#caffb4 text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #caffb4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #caffb4 in the Color Lab