Skip to content

#b4ba13

a dark, electric yellow · cool · closest name: olive

RGB
180, 186, 19
HSL
62°, 82%, 40%
CMYK
3, 0, 90, 27
Luminance
0.4487

Every format

HEX#b4ba13
RGBrgb(180, 186, 19)
HSLhsl(62, 82%, 40%)
CMYKcmyk(3%, 0%, 90%, 27%)
LABlab(72.8 -19.4 71.7)
LCHlch(72.8 74.2 105.1)
OKLCHoklch(0.759 0.165 112.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b4ba13 on white: 2.11:1
AA ✗ fail · AA-large · AAA
Aa
#b4ba13 on black: 9.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.6%
Green72.9%
Blue7.5%

CMYK percentages

Cyan3.2%
Magenta0.0%
Yellow89.8%
Key (black)27.1%

Color previews

#b4ba13 text on a black background

contrast 9.97:1

Card sample

#b4ba13 text on a white background

contrast 2.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(180, 186, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(180, 186, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b4ba13;
background: linear-gradient(135deg, #b4ba13, #45BA13);

Monochromatic scale

Palettes built from #b4ba13

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b4ba13 in the Color Lab