Skip to content

#cbff2e

a balanced, electric green · cool · closest name: yellow

RGB
203, 255, 46
HSL
75°, 100%, 59%
CMYK
20, 0, 82, 0
Luminance
0.8441

Every format

HEX#cbff2e
RGBrgb(203, 255, 46)
HSLhsl(75, 100%, 59%)
CMYKcmyk(20%, 0%, 82%, 0%)
LABlab(93.6 -41.5 84.2)
LCHlch(93.6 93.9 116.3)
OKLCHoklch(0.931 0.220 123.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbff2e on white: 1.17:1
AA ✗ fail · AA-large · AAA
Aa
#cbff2e on black: 17.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green100.0%
Blue18.0%

CMYK percentages

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

Color previews

#cbff2e text on a black background

contrast 17.88:1

Card sample

#cbff2e text on a white background

contrast 1.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbff2e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbff2e in the Color Lab