Skip to content

#cffb2d

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

RGB
207, 251, 45
HSL
73°, 96%, 58%
CMYK
18, 0, 82, 2
Luminance
0.8245

Every format

HEX#cffb2d
RGBrgb(207, 251, 45)
HSLhsl(73, 96%, 58%)
CMYKcmyk(18%, 0%, 82%, 2%)
LABlab(92.8 -38.3 83.8)
LCHlch(92.8 92.1 114.5)
OKLCHoklch(0.925 0.214 122.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cffb2d on white: 1.20:1
AA ✗ fail · AA-large · AAA
Aa
#cffb2d on black: 17.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green98.4%
Blue17.6%

CMYK percentages

Cyan17.5%
Magenta0.0%
Yellow82.1%
Key (black)1.6%

Color previews

#cffb2d text on a black background

contrast 17.49:1

Card sample

#cffb2d text on a white background

contrast 1.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 251, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 251, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cffb2d;
background: linear-gradient(135deg, #cffb2d, #46FB2D);

Monochromatic scale

Palettes built from #cffb2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cffb2d in the Color Lab