Skip to content

#b0cf5f

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

RGB
176, 207, 95
HSL
77°, 54%, 59%
CMYK
15, 0, 54, 19
Luminance
0.5468

Every format

HEX#b0cf5f
RGBrgb(176, 207, 95)
HSLhsl(77, 54%, 59%)
CMYKcmyk(15%, 0%, 54%, 19%)
LABlab(78.9 -27.2 51.5)
LCHlch(78.9 58.2 117.8)
OKLCHoklch(0.808 0.143 122.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red69.0%
Green81.2%
Blue37.3%

CMYK percentages

Cyan15.0%
Magenta0.0%
Yellow54.1%
Key (black)18.8%

Color previews

#b0cf5f text on a black background

contrast 11.94:1

Card sample

#b0cf5f text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b0cf5f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b0cf5f in the Color Lab