Skip to content

#b5ce49

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

RGB
181, 206, 73
HSL
71°, 58%, 55%
CMYK
12, 0, 65, 19
Luminance
0.5445

Every format

HEX#b5ce49
RGBrgb(181, 206, 73)
HSLhsl(71, 58%, 55%)
CMYKcmyk(12%, 0%, 65%, 19%)
LABlab(78.7 -26.4 61.0)
LCHlch(78.7 66.5 113.4)
OKLCHoklch(0.807 0.159 119.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b5ce49 on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#b5ce49 on black: 11.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red71.0%
Green80.8%
Blue28.6%

CMYK percentages

Cyan12.1%
Magenta0.0%
Yellow64.6%
Key (black)19.2%

Color previews

#b5ce49 text on a black background

contrast 11.89:1

Card sample

#b5ce49 text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(181, 206, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(181, 206, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b5ce49;
background: linear-gradient(135deg, #b5ce49, #5CCE49);

Monochromatic scale

Palettes built from #b5ce49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b5ce49 in the Color Lab