Skip to content

#bacf13

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

RGB
186, 207, 19
HSL
67°, 83%, 44%
CMYK
10, 0, 91, 19
Luminance
0.5511

Every format

HEX#bacf13
RGBrgb(186, 207, 19)
HSLhsl(67, 83%, 44%)
CMYKcmyk(10%, 0%, 91%, 19%)
LABlab(79.1 -27.1 76.8)
LCHlch(79.1 81.5 109.4)
OKLCHoklch(0.811 0.184 116.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bacf13 on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#bacf13 on black: 12.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green81.2%
Blue7.5%

CMYK percentages

Cyan10.1%
Magenta0.0%
Yellow90.8%
Key (black)18.8%

Color previews

#bacf13 text on a black background

contrast 12.02:1

Card sample

#bacf13 text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bacf13

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bacf13 in the Color Lab