Skip to content

#b3cb2f

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

RGB
179, 203, 47
HSL
69°, 62%, 49%
CMYK
12, 0, 77, 20
Luminance
0.5250

Every format

HEX#b3cb2f
RGBrgb(179, 203, 47)
HSLhsl(69, 62%, 49%)
CMYKcmyk(12%, 0%, 77%, 20%)
LABlab(77.6 -27.2 69.1)
LCHlch(77.6 74.3 111.5)
OKLCHoklch(0.797 0.172 118.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b3cb2f on white: 1.83:1
AA ✗ fail · AA-large · AAA
Aa
#b3cb2f on black: 11.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.2%
Green79.6%
Blue18.4%

CMYK percentages

Cyan11.8%
Magenta0.0%
Yellow76.8%
Key (black)20.4%

Color previews

#b3cb2f text on a black background

contrast 11.50:1

Card sample

#b3cb2f text on a white background

contrast 1.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b3cb2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b3cb2f in the Color Lab