Skip to content

#cbffb2

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

RGB
203, 255, 178
HSL
101°, 100%, 85%
CMYK
20, 0, 30, 0
Luminance
0.8743

Every format

HEX#cbffb2
RGBrgb(203, 255, 178)
HSLhsl(101, 100%, 85%)
CMYKcmyk(20%, 0%, 30%, 0%)
LABlab(94.9 -30.0 31.6)
LCHlch(94.9 43.6 133.5)
OKLCHoklch(0.946 0.114 135.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red79.6%
Green100.0%
Blue69.8%

CMYK percentages

Cyan20.4%
Magenta0.0%
Yellow30.2%
Key (black)0.0%

Color previews

#cbffb2 text on a black background

contrast 18.49:1

Card sample

#cbffb2 text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbffb2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbffb2 in the Color Lab