Skip to content

#cbffaf

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

RGB
203, 255, 175
HSL
99°, 100%, 84%
CMYK
20, 0, 31, 0
Luminance
0.8731

Every format

HEX#cbffaf
RGBrgb(203, 255, 175)
HSLhsl(99, 100%, 84%)
CMYKcmyk(20%, 0%, 31%, 0%)
LABlab(94.9 -30.4 33.0)
LCHlch(94.9 44.9 132.6)
OKLCHoklch(0.945 0.117 135.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red79.6%
Green100.0%
Blue68.6%

CMYK percentages

Cyan20.4%
Magenta0.0%
Yellow31.4%
Key (black)0.0%

Color previews

#cbffaf text on a black background

contrast 18.46:1

Card sample

#cbffaf text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbffaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbffaf in the Color Lab