Skip to content

#bacb0f

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

RGB
186, 203, 15
HSL
65°, 86%, 43%
CMYK
8, 0, 93, 20
Luminance
0.5319

Every format

HEX#bacb0f
RGBrgb(186, 203, 15)
HSLhsl(65, 86%, 43%)
CMYKcmyk(8%, 0%, 93%, 20%)
LABlab(78.0 -25.2 76.5)
LCHlch(78.0 80.5 108.2)
OKLCHoklch(0.802 0.180 115.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bacb0f on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#bacb0f on black: 11.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green79.6%
Blue5.9%

CMYK percentages

Cyan8.4%
Magenta0.0%
Yellow92.6%
Key (black)20.4%

Color previews

#bacb0f text on a black background

contrast 11.64:1

Card sample

#bacb0f text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 203, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 203, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bacb0f;
background: linear-gradient(135deg, #bacb0f, #3DCB0F);

Monochromatic scale

Palettes built from #bacb0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bacb0f in the Color Lab