Skip to content

#b0cf2f

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

RGB
176, 207, 47
HSL
72°, 63%, 50%
CMYK
15, 0, 77, 19
Luminance
0.5406

Every format

HEX#b0cf2f
RGBrgb(176, 207, 47)
HSLhsl(72, 63%, 50%)
CMYKcmyk(15%, 0%, 77%, 19%)
LABlab(78.5 -30.4 69.8)
LCHlch(78.5 76.2 113.5)
OKLCHoklch(0.804 0.178 120.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b0cf2f on white: 1.78:1
AA ✗ fail · AA-large · AAA
Aa
#b0cf2f on black: 11.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.0%
Green81.2%
Blue18.4%

CMYK percentages

Cyan15.0%
Magenta0.0%
Yellow77.3%
Key (black)18.8%

Color previews

#b0cf2f text on a black background

contrast 11.81:1

Card sample

#b0cf2f text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b0cf2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b0cf2f in the Color Lab