Skip to content

#cffc30

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

RGB
207, 252, 48
HSL
73°, 97%, 59%
CMYK
18, 0, 81, 1
Luminance
0.8310

Every format

HEX#cffc30
RGBrgb(207, 252, 48)
HSLhsl(73, 97%, 59%)
CMYKcmyk(18%, 0%, 81%, 1%)
LABlab(93.1 -38.6 83.3)
LCHlch(93.1 91.8 114.9)
OKLCHoklch(0.927 0.214 122.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cffc30 on white: 1.19:1
AA ✗ fail · AA-large · AAA
Aa
#cffc30 on black: 17.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green98.8%
Blue18.8%

CMYK percentages

Cyan17.9%
Magenta0.0%
Yellow81.0%
Key (black)1.2%

Color previews

#cffc30 text on a black background

contrast 17.62:1

Card sample

#cffc30 text on a white background

contrast 1.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 252, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 252, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cffc30;
background: linear-gradient(135deg, #cffc30, #47FC30);

Monochromatic scale

Palettes built from #cffc30

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cffc30 in the Color Lab