Skip to content

#b0cf80

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

RGB
176, 207, 128
HSL
84°, 45%, 66%
CMYK
15, 0, 38, 19
Luminance
0.5541

Every format

HEX#b0cf80
RGBrgb(176, 207, 128)
HSLhsl(84, 45%, 66%)
CMYKcmyk(15%, 0%, 38%, 19%)
LABlab(79.3 -23.6 35.9)
LCHlch(79.3 43.0 123.3)
OKLCHoklch(0.813 0.109 126.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b0cf80 on white: 1.74:1
AA ✗ fail · AA-large · AAA
Aa
#b0cf80 on black: 12.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.0%
Green81.2%
Blue50.2%

CMYK percentages

Cyan15.0%
Magenta0.0%
Yellow38.2%
Key (black)18.8%

Color previews

#b0cf80 text on a black background

contrast 12.08:1

Card sample

#b0cf80 text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(176, 207, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(176, 207, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b0cf80;
background: linear-gradient(135deg, #b0cf80, #80CF85);

Monochromatic scale

Palettes built from #b0cf80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b0cf80 in the Color Lab