Skip to content

#abc330

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

RGB
171, 195, 48
HSL
70°, 61%, 48%
CMYK
12, 0, 75, 24
Luminance
0.4790

Every format

HEX#abc330
RGBrgb(171, 195, 48)
HSLhsl(70, 61%, 48%)
CMYKcmyk(12%, 0%, 75%, 24%)
LABlab(74.8 -26.6 66.0)
LCHlch(74.8 71.1 112.0)
OKLCHoklch(0.773 0.166 118.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abc330 on white: 1.98:1
AA ✗ fail · AA-large · AAA
Aa
#abc330 on black: 10.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green76.5%
Blue18.8%

CMYK percentages

Cyan12.3%
Magenta0.0%
Yellow75.4%
Key (black)23.5%

Color previews

#abc330 text on a black background

contrast 10.58:1

Card sample

#abc330 text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(171, 195, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 195, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #abc330;
background: linear-gradient(135deg, #abc330, #49C330);

Monochromatic scale

Palettes built from #abc330

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abc330 in the Color Lab