Skip to content

#b0cf1f

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

RGB
176, 207, 31
HSL
71°, 74%, 47%
CMYK
15, 0, 85, 19
Luminance
0.5395

Every format

HEX#b0cf1f
RGBrgb(176, 207, 31)
HSLhsl(71, 74%, 47%)
CMYKcmyk(15%, 0%, 85%, 19%)
LABlab(78.4 -30.9 73.9)
LCHlch(78.4 80.1 112.7)
OKLCHoklch(0.804 0.184 120.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red69.0%
Green81.2%
Blue12.2%

CMYK percentages

Cyan15.0%
Magenta0.0%
Yellow85.0%
Key (black)18.8%

Color previews

#b0cf1f text on a black background

contrast 11.79:1

Card sample

#b0cf1f text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b0cf1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b0cf1f in the Color Lab