Skip to content

#b2cf4f

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

RGB
178, 207, 79
HSL
74°, 57%, 56%
CMYK
14, 0, 62, 19
Luminance
0.5466

Every format

HEX#b2cf4f
RGBrgb(178, 207, 79)
HSLhsl(74, 57%, 56%)
CMYKcmyk(14%, 0%, 62%, 19%)
LABlab(78.8 -27.7 58.6)
LCHlch(78.8 64.8 115.3)
OKLCHoklch(0.808 0.157 120.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2cf4f on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#b2cf4f on black: 11.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green81.2%
Blue31.0%

CMYK percentages

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

Color previews

#b2cf4f text on a black background

contrast 11.93:1

Card sample

#b2cf4f text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2cf4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2cf4f in the Color Lab