Skip to content

#b5cf2f

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

RGB
181, 207, 47
HSL
70°, 63%, 50%
CMYK
13, 0, 77, 19
Luminance
0.5465

Every format

HEX#b5cf2f
RGBrgb(181, 207, 47)
HSLhsl(70, 63%, 50%)
CMYKcmyk(13%, 0%, 77%, 19%)
LABlab(78.8 -28.3 70.3)
LCHlch(78.8 75.8 111.9)
OKLCHoklch(0.808 0.176 118.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red71.0%
Green81.2%
Blue18.4%

CMYK percentages

Cyan12.6%
Magenta0.0%
Yellow77.3%
Key (black)18.8%

Color previews

#b5cf2f text on a black background

contrast 11.93:1

Card sample

#b5cf2f text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b5cf2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b5cf2f in the Color Lab