Skip to content

#abba3f

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

RGB
171, 186, 63
HSL
67°, 49%, 49%
CMYK
8, 0, 66, 27
Luminance
0.4413

Every format

HEX#abba3f
RGBrgb(171, 186, 63)
HSLhsl(67, 49%, 49%)
CMYKcmyk(8%, 0%, 66%, 27%)
LABlab(72.3 -21.4 58.1)
LCHlch(72.3 61.9 110.3)
OKLCHoklch(0.754 0.146 116.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abba3f on white: 2.14:1
AA ✗ fail · AA-large · AAA
Aa
#abba3f on black: 9.83:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green72.9%
Blue24.7%

CMYK percentages

Cyan8.1%
Magenta0.0%
Yellow66.1%
Key (black)27.1%

Color previews

#abba3f text on a black background

contrast 9.83:1

Card sample

#abba3f text on a white background

contrast 2.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(171, 186, 63, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 186, 63, 0.45);
Border & gradient
Gradient panel
border: 3px solid #abba3f;
background: linear-gradient(135deg, #abba3f, #59BA3F);

Monochromatic scale

Palettes built from #abba3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abba3f in the Color Lab