Skip to content

#abc157

a balanced, vivid green · warm · closest name: Yellow Green

RGB
171, 193, 87
HSL
73°, 46%, 55%
CMYK
11, 0, 55, 24
Luminance
0.4749

At a glance

Every number on this page in one read: what #abc157 is made of, how bright it looks, and which way it leans.

Hex
#abc157
Hue
73°
green
Saturation
46%
vivid
Lightness
55%
balanced
Brightness
76%
HSV value
Perceived
70%
weighted brightness
Luminance
0.4749
WCAG relative
Temperature
Warm
35/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
10.50:1
Closest name
Yellow Green
ΔE2000 6.3
Where it sits
Hue73° of 360°
Saturation46%
Lightness55%
Temperature
Warm ← → Cool35% cool

Reads warm. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#abc157
RGBrgb(171, 193, 87)
HSLhsl(73, 46%, 55%)
CMYKcmyk(11%, 0%, 55%, 24%)
LABlab(74.5 -23.1 50.0)
LCHlch(74.5 55.1 114.8)
OKLCHoklch(0.772 0.135 119.4)
Decimal11256151
Display P3color(display-p3 0.671 0.757 0.341)

Copy-ready code

/* CSS */
color: #abc157;
background-color: #abc157;
/* Tailwind (arbitrary) */
class="text-[#abc157] bg-[#abc157]"
/* SCSS */
$brand: #abc157;
/* SwiftUI */
Color(red: 0.671, green: 0.757, blue: 0.341)
/* Android */
Color.parseColor("#abc157")
/* Flutter */
Color(0xFFABC157)
/* Python / OpenCV (BGR) */
(87, 193, 171)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #abc157 · 10.50:1
Use #000000AAA at every size.
Aa
White text · 2.00:1
AA fail · AA large fail · AAA fail
Aa
Black text · 10.50:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #abc157 as text scores 2.00:1 on white and 10.50:1 on black.

Accessibility — WCAG contrast

Aa
#abc157 on white: 2.00:1
AA ✗ fail · AA-large · AAA
Aa
#abc157 on black: 10.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CCB74C
deuteranopia · #C9B85D
tritanopia · #B3B8AA

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #abc157 is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F9FAF5
#F3F5EA
#E6EBD0
#D6E1AD
#C1D284
#abc157
#9BB342
#819537
#68772C
#4C5723
#303616
Base = 500Lightest = 50 · #F9FAF5Darkest = 950 · #303616
:root {
  --brand-50: #F9FAF5;
  --brand-100: #F3F5EA;
  --brand-200: #E6EBD0;
  --brand-300: #D6E1AD;
  --brand-400: #C1D284;
  --brand-500: #abc157;
  --brand-600: #9BB342;
  --brand-700: #819537;
  --brand-800: #68772C;
  --brand-900: #4C5723;
  --brand-950: #303616;
  --brand: #abc157;
  --brand-ink: #000000;
}

Colors that work with #abc157

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F9FAF4
Tinted page background
Border#E1E9C3
Hairlines and dividers
Muted text#8A9B4B
Captions on the surface
Accent#5257C6
Second voice, not a rival
Dark variant#515D22
Hover, pressed, headers
Light variant#F6F8EC
Selected rows, tints
Dark surface#212414
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #abc157

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#6D57C1
Analogous left#C1A257
Analogous right#76C157
Split-complement 1#5776C1
Split-complement 2#A257C1
Triadic 1#57ABC1
Triadic 2#C157AB
Tetradic#57C1A2

RGB percentages

Red67.1%
Green75.7%
Blue34.1%

CMYK percentages

Cyan11.4%
Magenta0.0%
Yellow54.9%
Key (black)24.3%

Color previews

#abc157 text on a black background

contrast 10.50:1

Card sample

#abc157 text on a white background

contrast 2.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(171, 193, 87, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 193, 87, 0.45);
Border & gradient
Gradient panel
border: 3px solid #abc157;
background: linear-gradient(135deg, #abc157, #64C157);

Monochromatic scale

Palettes built from #abc157

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#abc157 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
SustainabilityFinanceHealth and wellnessAgriculture
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#abc157, answered

What color is #abc157?

#abc157 is a balanced vivid green, closest to Yellow Green (ΔE2000 6.3). It sits at 73° on the hue wheel with 46% saturation and 55% lightness, which reads as warm.

What is the RGB value of #abc157?

rgb(171, 193, 87) — 171 red, 193 green and 87 blue out of 255, or 67.1% / 75.7% / 34.1% by channel.

Is #abc157 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4749 and perceived brightness is 70%, so black text on it reaches 10.50:1.

Should I use black or white text on #abc157?

Black. It scores 10.50:1 against #abc157, versus 2.00:1 for white — AAA at any size.

What is the complementary color of #abc157?

#6D57C1 sits directly opposite on the wheel. Softer options are the split-complements #5776C1 and #A257C1, which give the same contrast with far less vibration.

What colors go well with #abc157?

For interface work: #F9FAF4 as the surface, #E1E9C3 for borders, #8A9B4B for secondary text, #5257C6 as an accent and #515D22 for hover and pressed states. For a palette, the analogous pair #C1A257 and #76C157 stays calm, while #6D57C1 is the loudest partner.

What is #abc157 in CMYK for printing?

cmyk(11%, 0%, 55%, 24%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #abc157 warm or cool?

Warm — it scores 35 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C1B057; nudged cooler, #84C355.

Work with #abc157 in the Color Lab