Skip to content

#bac430

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

RGB
186, 196, 48
HSL
64°, 61%, 48%
CMYK
5, 0, 76, 23
Luminance
0.5013

Every format

HEX#bac430
RGBrgb(186, 196, 48)
HSLhsl(64, 61%, 48%)
CMYKcmyk(5%, 0%, 76%, 23%)
LABlab(76.2 -20.9 67.6)
LCHlch(76.2 70.8 107.2)
OKLCHoklch(0.787 0.162 113.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bac430 on white: 1.90:1
AA ✗ fail · AA-large · AAA
Aa
#bac430 on black: 11.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green76.9%
Blue18.8%

CMYK percentages

Cyan5.1%
Magenta0.0%
Yellow75.5%
Key (black)23.1%

Color previews

#bac430 text on a black background

contrast 11.03:1

Card sample

#bac430 text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 196, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 196, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bac430;
background: linear-gradient(135deg, #bac430, #57C430);

Monochromatic scale

Palettes built from #bac430

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bac430 in the Color Lab