Skip to content

#bace1f

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

RGB
186, 206, 31
HSL
67°, 74%, 47%
CMYK
10, 0, 85, 19
Luminance
0.5468

Every format

HEX#bace1f
RGBrgb(186, 206, 31)
HSLhsl(67, 74%, 47%)
CMYKcmyk(10%, 0%, 85%, 19%)
LABlab(78.9 -26.3 74.5)
LCHlch(78.9 79.0 109.5)
OKLCHoklch(0.809 0.179 116.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red72.9%
Green80.8%
Blue12.2%

CMYK percentages

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

Color previews

#bace1f text on a black background

contrast 11.94:1

Card sample

#bace1f text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bace1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bace1f in the Color Lab