Skip to content

#bac32f

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

RGB
186, 195, 47
HSL
64°, 61%, 48%
CMYK
5, 0, 76, 24
Luminance
0.4967

Every format

HEX#bac32f
RGBrgb(186, 195, 47)
HSLhsl(64, 61%, 48%)
CMYKcmyk(5%, 0%, 76%, 24%)
LABlab(75.9 -20.4 67.7)
LCHlch(75.9 70.7 106.8)
OKLCHoklch(0.785 0.161 113.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bac32f on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#bac32f on black: 10.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green76.5%
Blue18.4%

CMYK percentages

Cyan4.6%
Magenta0.0%
Yellow75.9%
Key (black)23.5%

Color previews

#bac32f text on a black background

contrast 10.93:1

Card sample

#bac32f text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 195, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 195, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bac32f;
background: linear-gradient(135deg, #bac32f, #58C32F);

Monochromatic scale

Palettes built from #bac32f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bac32f in the Color Lab