Skip to content

#b2cf64

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

RGB
178, 207, 100
HSL
76°, 53%, 60%
CMYK
14, 0, 52, 19
Luminance
0.5501

Every format

HEX#b2cf64
RGBrgb(178, 207, 100)
HSLhsl(76, 53%, 60%)
CMYKcmyk(14%, 0%, 52%, 19%)
LABlab(79.0 -25.9 49.4)
LCHlch(79.0 55.8 117.7)
OKLCHoklch(0.810 0.138 122.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2cf64 on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#b2cf64 on black: 12.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green81.2%
Blue39.2%

CMYK percentages

Cyan14.0%
Magenta0.0%
Yellow51.7%
Key (black)18.8%

Color previews

#b2cf64 text on a black background

contrast 12.00:1

Card sample

#b2cf64 text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b2cf64

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2cf64 in the Color Lab