Skip to content

#baba50

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

RGB
186, 186, 80
HSL
60°, 43%, 52%
CMYK
0, 0, 57, 27
Luminance
0.4614

Every format

HEX#baba50
RGBrgb(186, 186, 80)
HSLhsl(60, 43%, 52%)
CMYKcmyk(0%, 0%, 57%, 27%)
LABlab(73.6 -14.0 52.6)
LCHlch(73.6 54.4 104.9)
OKLCHoklch(0.768 0.129 109.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baba50 on white: 2.05:1
AA ✗ fail · AA-large · AAA
Aa
#baba50 on black: 10.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green72.9%
Blue31.4%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow57.0%
Key (black)27.1%

Color previews

#baba50 text on a black background

contrast 10.23:1

Card sample

#baba50 text on a white background

contrast 2.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baba50

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baba50 in the Color Lab