Skip to content

#bace52

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

RGB
186, 206, 82
HSL
70°, 56%, 57%
CMYK
10, 0, 60, 19
Luminance
0.5519

Every format

HEX#bace52
RGBrgb(186, 206, 82)
HSLhsl(70, 56%, 57%)
CMYKcmyk(10%, 0%, 60%, 19%)
LABlab(79.2 -23.8 57.8)
LCHlch(79.2 62.5 112.4)
OKLCHoklch(0.812 0.150 117.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bace52 on white: 1.74:1
AA ✗ fail · AA-large · AAA
Aa
#bace52 on black: 12.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green80.8%
Blue32.2%

CMYK percentages

Cyan9.7%
Magenta0.0%
Yellow60.2%
Key (black)19.2%

Color previews

#bace52 text on a black background

contrast 12.04:1

Card sample

#bace52 text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bace52

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bace52 in the Color Lab