Skip to content

#bace02

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

RGB
186, 206, 2
HSL
66°, 98%, 41%
CMYK
10, 0, 99, 19
Luminance
0.5459

Every format

HEX#bace02
RGBrgb(186, 206, 2)
HSLhsl(66, 98%, 41%)
CMYKcmyk(10%, 0%, 99%, 19%)
LABlab(78.8 -26.8 78.4)
LCHlch(78.8 82.9 108.9)
OKLCHoklch(0.808 0.185 116.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bace02 on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#bace02 on black: 11.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green80.8%
Blue0.8%

CMYK percentages

Cyan9.7%
Magenta0.0%
Yellow99.0%
Key (black)19.2%

Color previews

#bace02 text on a black background

contrast 11.92:1

Card sample

#bace02 text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bace02

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bace02 in the Color Lab