Skip to content

#bac968

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

RGB
186, 201, 104
HSL
69°, 47%, 60%
CMYK
8, 0, 48, 21
Luminance
0.5321

Every format

HEX#bac968
RGBrgb(186, 201, 104)
HSLhsl(69, 47%, 60%)
CMYKcmyk(8%, 0%, 48%, 21%)
LABlab(78.0 -19.4 46.4)
LCHlch(78.0 50.3 112.7)
OKLCHoklch(0.804 0.123 116.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bac968 on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#bac968 on black: 11.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green78.8%
Blue40.8%

CMYK percentages

Cyan7.5%
Magenta0.0%
Yellow48.3%
Key (black)21.2%

Color previews

#bac968 text on a black background

contrast 11.64:1

Card sample

#bac968 text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 201, 104, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 201, 104, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bac968;
background: linear-gradient(135deg, #bac968, #79C968);

Monochromatic scale

Palettes built from #bac968

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bac968 in the Color Lab