Skip to content

#b5da6c

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

RGB
181, 218, 108
HSL
80°, 60%, 64%
CMYK
17, 0, 51, 15
Luminance
0.6105

Every format

HEX#b5da6c
RGBrgb(181, 218, 108)
HSLhsl(80, 60%, 64%)
CMYKcmyk(17%, 0%, 51%, 15%)
LABlab(82.4 -29.2 49.7)
LCHlch(82.4 57.6 120.5)
OKLCHoklch(0.838 0.144 124.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b5da6c on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#b5da6c on black: 13.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red71.0%
Green85.5%
Blue42.4%

CMYK percentages

Cyan17.0%
Magenta0.0%
Yellow50.5%
Key (black)14.5%

Color previews

#b5da6c text on a black background

contrast 13.21:1

Card sample

#b5da6c text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(181, 218, 108, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(181, 218, 108, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b5da6c;
background: linear-gradient(135deg, #b5da6c, #6CDA6C);

Monochromatic scale

Palettes built from #b5da6c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b5da6c in the Color Lab