Skip to content

#bace46

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

RGB
186, 206, 70
HSL
69°, 58%, 54%
CMYK
10, 0, 66, 19
Luminance
0.5502

Every format

HEX#bace46
RGBrgb(186, 206, 70)
HSLhsl(69, 58%, 54%)
CMYKcmyk(10%, 0%, 66%, 19%)
LABlab(79.1 -24.6 62.6)
LCHlch(79.1 67.3 111.5)
OKLCHoklch(0.811 0.159 117.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bace46 on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#bace46 on black: 12.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green80.8%
Blue27.5%

CMYK percentages

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

Color previews

#bace46 text on a black background

contrast 12.00:1

Card sample

#bace46 text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bace46

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bace46 in the Color Lab