Skip to content

#b2cf2c

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

RGB
178, 207, 44
HSL
71°, 65%, 49%
CMYK
14, 0, 79, 19
Luminance
0.5427

Every format

HEX#b2cf2c
RGBrgb(178, 207, 44)
HSLhsl(71, 65%, 49%)
CMYKcmyk(14%, 0%, 79%, 19%)
LABlab(78.6 -29.7 70.9)
LCHlch(78.6 76.8 112.7)
OKLCHoklch(0.806 0.178 119.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2cf2c on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#b2cf2c on black: 11.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green81.2%
Blue17.3%

CMYK percentages

Cyan14.0%
Magenta0.0%
Yellow78.7%
Key (black)18.8%

Color previews

#b2cf2c text on a black background

contrast 11.85:1

Card sample

#b2cf2c text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2cf2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2cf2c in the Color Lab