Skip to content

#b5c430

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

RGB
181, 196, 48
HSL
66°, 61%, 48%
CMYK
8, 0, 76, 23
Luminance
0.4952

Every format

HEX#b5c430
RGBrgb(181, 196, 48)
HSLhsl(66, 61%, 48%)
CMYKcmyk(8%, 0%, 76%, 23%)
LABlab(75.8 -23.0 67.2)
LCHlch(75.8 71.0 108.9)
OKLCHoklch(0.783 0.163 115.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red71.0%
Green76.9%
Blue18.8%

CMYK percentages

Cyan7.7%
Magenta0.0%
Yellow75.5%
Key (black)23.1%

Color previews

#b5c430 text on a black background

contrast 10.90:1

Card sample

#b5c430 text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b5c430

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b5c430 in the Color Lab