Skip to content

#cff20c

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

RGB
207, 242, 12
HSL
69°, 91%, 50%
CMYK
15, 0, 95, 5
Luminance
0.7680

Every format

HEX#cff20c
RGBrgb(207, 242, 12)
HSLhsl(69, 91%, 50%)
CMYKcmyk(15%, 0%, 95%, 5%)
LABlab(90.2 -34.9 86.9)
LCHlch(90.2 93.6 111.9)
OKLCHoklch(0.904 0.213 119.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cff20c on white: 1.28:1
AA ✗ fail · AA-large · AAA
Aa
#cff20c on black: 16.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green94.9%
Blue4.7%

CMYK percentages

Cyan14.5%
Magenta0.0%
Yellow95.0%
Key (black)5.1%

Color previews

#cff20c text on a black background

contrast 16.36:1

Card sample

#cff20c text on a white background

contrast 1.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 242, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 242, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cff20c;
background: linear-gradient(135deg, #cff20c, #36F20C);

Monochromatic scale

Palettes built from #cff20c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cff20c in the Color Lab