Skip to content

#b2c430

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

RGB
178, 196, 48
HSL
67°, 61%, 48%
CMYK
9, 0, 76, 23
Luminance
0.4916

Every format

HEX#b2c430
RGBrgb(178, 196, 48)
HSLhsl(67, 61%, 48%)
CMYKcmyk(9%, 0%, 76%, 23%)
LABlab(75.5 -24.2 66.9)
LCHlch(75.5 71.1 109.9)
OKLCHoklch(0.781 0.164 116.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b2c430 on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#b2c430 on black: 10.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.8%
Green76.9%
Blue18.8%

CMYK percentages

Cyan9.2%
Magenta0.0%
Yellow75.5%
Key (black)23.1%

Color previews

#b2c430 text on a black background

contrast 10.83:1

Card sample

#b2c430 text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(178, 196, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 196, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2c430;
background: linear-gradient(135deg, #b2c430, #4FC430);

Monochromatic scale

Palettes built from #b2c430

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b2c430 in the Color Lab