Skip to content

#b2cf32

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

RGB
178, 207, 50
HSL
71°, 62%, 50%
CMYK
14, 0, 76, 19
Luminance
0.5432

Every format

HEX#b2cf32
RGBrgb(178, 207, 50)
HSLhsl(71, 62%, 50%)
CMYKcmyk(14%, 0%, 76%, 19%)
LABlab(78.7 -29.4 69.1)
LCHlch(78.7 75.1 113.0)
OKLCHoklch(0.806 0.175 119.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red69.8%
Green81.2%
Blue19.6%

CMYK percentages

Cyan14.0%
Magenta0.0%
Yellow75.8%
Key (black)18.8%

Color previews

#b2cf32 text on a black background

contrast 11.86:1

Card sample

#b2cf32 text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2cf32

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2cf32 in the Color Lab