Skip to content

#baba30

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

RGB
186, 186, 48
HSL
60°, 59%, 46%
CMYK
0, 0, 74, 27
Luminance
0.4577

Every format

HEX#baba30
RGBrgb(186, 186, 48)
HSLhsl(60, 59%, 46%)
CMYKcmyk(0%, 0%, 74%, 27%)
LABlab(73.4 -15.9 65.1)
LCHlch(73.4 67.0 103.7)
OKLCHoklch(0.765 0.152 109.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baba30 on white: 2.07:1
AA ✗ fail · AA-large · AAA
Aa
#baba30 on black: 10.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green72.9%
Blue18.8%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow74.2%
Key (black)27.1%

Color previews

#baba30 text on a black background

contrast 10.15:1

Card sample

#baba30 text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #baba30

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baba30 in the Color Lab