Skip to content

#b2cd2f

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

RGB
178, 205, 47
HSL
70°, 63%, 49%
CMYK
13, 0, 77, 20
Luminance
0.5333

Every format

HEX#b2cd2f
RGBrgb(178, 205, 47)
HSLhsl(70, 63%, 49%)
CMYKcmyk(13%, 0%, 77%, 20%)
LABlab(78.1 -28.6 69.5)
LCHlch(78.1 75.2 112.4)
OKLCHoklch(0.801 0.175 119.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2cd2f on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#b2cd2f on black: 11.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green80.4%
Blue18.4%

CMYK percentages

Cyan13.2%
Magenta0.0%
Yellow77.1%
Key (black)19.6%

Color previews

#b2cd2f text on a black background

contrast 11.67:1

Card sample

#b2cd2f text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2cd2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2cd2f in the Color Lab