Skip to content

#cbfa54

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

RGB
203, 250, 84
HSL
77°, 94%, 66%
CMYK
19, 0, 66, 2
Luminance
0.8171

Every format

HEX#cbfa54
RGBrgb(203, 250, 84)
HSLhsl(77, 94%, 66%)
CMYKcmyk(19%, 0%, 66%, 2%)
LABlab(92.5 -37.5 71.5)
LCHlch(92.5 80.7 117.7)
OKLCHoklch(0.922 0.195 123.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbfa54 on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#cbfa54 on black: 17.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green98.0%
Blue32.9%

CMYK percentages

Cyan18.8%
Magenta0.0%
Yellow66.4%
Key (black)2.0%

Color previews

#cbfa54 text on a black background

contrast 17.34:1

Card sample

#cbfa54 text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(203, 250, 84, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 250, 84, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbfa54;
background: linear-gradient(135deg, #cbfa54, #5CFA54);

Monochromatic scale

Palettes built from #cbfa54

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbfa54 in the Color Lab