Skip to content

#caf080

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

RGB
202, 240, 128
HSL
80°, 79%, 72%
CMYK
16, 0, 47, 6
Luminance
0.7644

Every format

HEX#caf080
RGBrgb(202, 240, 128)
HSLhsl(80, 79%, 72%)
CMYKcmyk(16%, 0%, 47%, 6%)
LABlab(90.1 -29.6 49.8)
LCHlch(90.1 58.0 120.7)
OKLCHoklch(0.904 0.145 124.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#caf080 on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#caf080 on black: 16.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green94.1%
Blue50.2%

CMYK percentages

Cyan15.8%
Magenta0.0%
Yellow46.7%
Key (black)5.9%

Color previews

#caf080 text on a black background

contrast 16.29:1

Card sample

#caf080 text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(202, 240, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 240, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #caf080;
background: linear-gradient(135deg, #caf080, #80F081);

Monochromatic scale

Palettes built from #caf080

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #caf080 in the Color Lab