Skip to content

#b2cf3e

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

RGB
178, 207, 62
HSL
72°, 60%, 53%
CMYK
14, 0, 70, 19
Luminance
0.5444

Every format

HEX#b2cf3e
RGBrgb(178, 207, 62)
HSLhsl(72, 60%, 53%)
CMYKcmyk(14%, 0%, 70%, 19%)
LABlab(78.7 -28.8 65.1)
LCHlch(78.7 71.2 113.9)
OKLCHoklch(0.807 0.169 120.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red69.8%
Green81.2%
Blue24.3%

CMYK percentages

Cyan14.0%
Magenta0.0%
Yellow70.0%
Key (black)18.8%

Color previews

#b2cf3e text on a black background

contrast 11.89:1

Card sample

#b2cf3e text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2cf3e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2cf3e in the Color Lab