Skip to content

#b2cd3f

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

RGB
178, 205, 63
HSL
71°, 59%, 53%
CMYK
13, 0, 69, 20
Luminance
0.5349

Every format

HEX#b2cd3f
RGBrgb(178, 205, 63)
HSLhsl(71, 59%, 53%)
CMYKcmyk(13%, 0%, 69%, 20%)
LABlab(78.2 -27.8 64.2)
LCHlch(78.2 70.0 113.4)
OKLCHoklch(0.802 0.166 119.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2cd3f on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#b2cd3f on black: 11.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green80.4%
Blue24.7%

CMYK percentages

Cyan13.2%
Magenta0.0%
Yellow69.3%
Key (black)19.6%

Color previews

#b2cd3f text on a black background

contrast 11.70:1

Card sample

#b2cd3f text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(178, 205, 63, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 205, 63, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2cd3f;
background: linear-gradient(135deg, #b2cd3f, #53CD3F);

Monochromatic scale

Palettes built from #b2cd3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2cd3f in the Color Lab