Skip to content

#b4cb13

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

RGB
180, 203, 19
HSL
68°, 83%, 44%
CMYK
11, 0, 91, 20
Luminance
0.5246

Every format

HEX#b4cb13
RGBrgb(180, 203, 19)
HSLhsl(68, 83%, 44%)
CMYKcmyk(11%, 0%, 91%, 20%)
LABlab(77.6 -27.6 75.4)
LCHlch(77.6 80.3 110.1)
OKLCHoklch(0.797 0.182 117.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b4cb13 on white: 1.83:1
AA ✗ fail · AA-large · AAA
Aa
#b4cb13 on black: 11.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.6%
Green79.6%
Blue7.5%

CMYK percentages

Cyan11.3%
Magenta0.0%
Yellow90.6%
Key (black)20.4%

Color previews

#b4cb13 text on a black background

contrast 11.49:1

Card sample

#b4cb13 text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b4cb13

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b4cb13 in the Color Lab