Skip to content

#b5d02f

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

RGB
181, 208, 47
HSL
70°, 63%, 50%
CMYK
13, 0, 77, 18
Luminance
0.5514

Every format

HEX#b5d02f
RGBrgb(181, 208, 47)
HSLhsl(70, 63%, 50%)
CMYKcmyk(13%, 0%, 77%, 18%)
LABlab(79.1 -28.8 70.5)
LCHlch(79.1 76.2 112.2)
OKLCHoklch(0.810 0.177 119.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b5d02f on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#b5d02f on black: 12.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red71.0%
Green81.6%
Blue18.4%

CMYK percentages

Cyan13.0%
Magenta0.0%
Yellow77.4%
Key (black)18.4%

Color previews

#b5d02f text on a black background

contrast 12.03:1

Card sample

#b5d02f text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b5d02f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b5d02f in the Color Lab