Skip to content

#b0cf0c

a dark, electric yellow · cool · closest name: yellow

RGB
176, 207, 12
HSL
70°, 89%, 43%
CMYK
15, 0, 94, 19
Luminance
0.5388

Every format

HEX#b0cf0c
RGBrgb(176, 207, 12)
HSLhsl(70, 89%, 43%)
CMYKcmyk(15%, 0%, 94%, 19%)
LABlab(78.4 -31.3 76.8)
LCHlch(78.4 83.0 112.2)
OKLCHoklch(0.803 0.189 120.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red69.0%
Green81.2%
Blue4.7%

CMYK percentages

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

Color previews

#b0cf0c text on a black background

contrast 11.78:1

Card sample

#b0cf0c text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b0cf0c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b0cf0c in the Color Lab