Skip to content

#b4c430

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

RGB
180, 196, 48
HSL
67°, 61%, 48%
CMYK
8, 0, 76, 23
Luminance
0.4940

Every format

HEX#b4c430
RGBrgb(180, 196, 48)
HSLhsl(67, 61%, 48%)
CMYKcmyk(8%, 0%, 76%, 23%)
LABlab(75.7 -23.4 67.1)
LCHlch(75.7 71.0 109.2)
OKLCHoklch(0.782 0.164 115.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b4c430 on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#b4c430 on black: 10.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.6%
Green76.9%
Blue18.8%

CMYK percentages

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

Color previews

#b4c430 text on a black background

contrast 10.88:1

Card sample

#b4c430 text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b4c430

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b4c430 in the Color Lab