Skip to content

#cbfea2

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

RGB
203, 254, 162
HSL
93°, 98%, 82%
CMYK
20, 0, 36, 0
Luminance
0.8619

Every format

HEX#cbfea2
RGBrgb(203, 254, 162)
HSLhsl(93, 98%, 82%)
CMYKcmyk(20%, 0%, 36%, 0%)
LABlab(94.4 -31.8 38.9)
LCHlch(94.4 50.2 129.3)
OKLCHoklch(0.941 0.130 132.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red79.6%
Green99.6%
Blue63.5%

CMYK percentages

Cyan20.1%
Magenta0.0%
Yellow36.2%
Key (black)0.4%

Color previews

#cbfea2 text on a black background

contrast 18.24:1

Card sample

#cbfea2 text on a white background

contrast 1.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbfea2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbfea2 in the Color Lab