Skip to content

#b4cf2c

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

RGB
180, 207, 44
HSL
70°, 65%, 49%
CMYK
13, 0, 79, 19
Luminance
0.5451

Every format

HEX#b4cf2c
RGBrgb(180, 207, 44)
HSLhsl(70, 65%, 49%)
CMYKcmyk(13%, 0%, 79%, 19%)
LABlab(78.8 -28.9 71.0)
LCHlch(78.8 76.7 112.1)
OKLCHoklch(0.807 0.178 119.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b4cf2c on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#b4cf2c on black: 11.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.6%
Green81.2%
Blue17.3%

CMYK percentages

Cyan13.0%
Magenta0.0%
Yellow78.7%
Key (black)18.8%

Color previews

#b4cf2c text on a black background

contrast 11.90:1

Card sample

#b4cf2c text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(180, 207, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(180, 207, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b4cf2c;
background: linear-gradient(135deg, #b4cf2c, #47CF2C);

Monochromatic scale

Palettes built from #b4cf2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b4cf2c in the Color Lab