Skip to content

#b2cc2c

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

RGB
178, 204, 44
HSL
70°, 65%, 49%
CMYK
13, 0, 78, 20
Luminance
0.5283

Every format

HEX#b2cc2c
RGBrgb(178, 204, 44)
HSLhsl(70, 65%, 49%)
CMYKcmyk(13%, 0%, 78%, 20%)
LABlab(77.8 -28.2 70.1)
LCHlch(77.8 75.6 111.9)
OKLCHoklch(0.799 0.175 118.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2cc2c on white: 1.82:1
AA ✗ fail · AA-large · AAA
Aa
#b2cc2c on black: 11.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green80.0%
Blue17.3%

CMYK percentages

Cyan12.7%
Magenta0.0%
Yellow78.4%
Key (black)20.0%

Color previews

#b2cc2c text on a black background

contrast 11.57:1

Card sample

#b2cc2c text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2cc2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2cc2c in the Color Lab