Skip to content

#cafeaf

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

RGB
202, 254, 175
HSL
100°, 98%, 84%
CMYK
21, 0, 31, 0
Luminance
0.8654

Every format

HEX#cafeaf
RGBrgb(202, 254, 175)
HSLhsl(100, 98%, 84%)
CMYKcmyk(21%, 0%, 31%, 0%)
LABlab(94.5 -30.3 32.6)
LCHlch(94.5 44.5 132.9)
OKLCHoklch(0.942 0.116 135.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cafeaf on white: 1.15:1
AA ✗ fail · AA-large · AAA
Aa
#cafeaf on black: 18.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green99.6%
Blue68.6%

CMYK percentages

Cyan20.5%
Magenta0.0%
Yellow31.1%
Key (black)0.4%

Color previews

#cafeaf text on a black background

contrast 18.31:1

Card sample

#cafeaf text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cafeaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cafeaf in the Color Lab