Skip to content

#b3cd2f

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

RGB
179, 205, 47
HSL
70°, 63%, 49%
CMYK
13, 0, 77, 20
Luminance
0.5345

Every format

HEX#b3cd2f
RGBrgb(179, 205, 47)
HSLhsl(70, 63%, 49%)
CMYKcmyk(13%, 0%, 77%, 20%)
LABlab(78.1 -28.2 69.6)
LCHlch(78.1 75.1 112.1)
OKLCHoklch(0.802 0.174 119.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red70.2%
Green80.4%
Blue18.4%

CMYK percentages

Cyan12.7%
Magenta0.0%
Yellow77.1%
Key (black)19.6%

Color previews

#b3cd2f text on a black background

contrast 11.69:1

Card sample

#b3cd2f text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b3cd2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b3cd2f in the Color Lab