Skip to content

#bac950

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

RGB
186, 201, 80
HSL
67°, 53%, 55%
CMYK
8, 0, 60, 21
Luminance
0.5279

Every format

HEX#bac950
RGBrgb(186, 201, 80)
HSLhsl(67, 53%, 55%)
CMYKcmyk(8%, 0%, 60%, 21%)
LABlab(77.8 -21.5 57.1)
LCHlch(77.8 61.0 110.6)
OKLCHoklch(0.801 0.146 115.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bac950 on white: 1.82:1
AA ✗ fail · AA-large · AAA
Aa
#bac950 on black: 11.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green78.8%
Blue31.4%

CMYK percentages

Cyan7.5%
Magenta0.0%
Yellow60.2%
Key (black)21.2%

Color previews

#bac950 text on a black background

contrast 11.56:1

Card sample

#bac950 text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bac950

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bac950 in the Color Lab