Skip to content

#5ab921

a dark, vivid green · neutral · closest name: Lime Green

RGB
90, 185, 33
HSL
98°, 70%, 43%
CMYK
51, 0, 82, 28
Luminance
0.3698

At a glance

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

Hex
#5ab921
Hue
98°
green
Saturation
70%
vivid
Lightness
43%
dark
Brightness
73%
HSV value
Perceived
59%
weighted brightness
Luminance
0.3698
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
8.40:1
Closest name
Lime Green
ΔE2000 6.1
Where it sits
Hue98° of 360°
Saturation70%
Lightness43%
Temperature
Warm ← → Cool53% cool

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

Every format

HEX#5ab921
RGBrgb(90, 185, 33)
HSLhsl(98, 70%, 43%)
CMYKcmyk(51%, 0%, 82%, 28%)
LABlab(67.3 -52.6 61.8)
LCHlch(67.3 81.2 130.4)
OKLCHoklch(0.700 0.200 137.0)
Decimal5945633
Display P3color(display-p3 0.353 0.725 0.129)

Copy-ready code

/* CSS */
color: #5ab921;
background-color: #5ab921;
/* Tailwind (arbitrary) */
class="text-[#5ab921] bg-[#5ab921]"
/* SCSS */
$brand: #5ab921;
/* SwiftUI */
Color(red: 0.353, green: 0.725, blue: 0.129)
/* Android */
Color.parseColor("#5ab921")
/* Flutter */
Color(0xFF5AB921)
/* Python / OpenCV (BGR) */
(33, 185, 90)

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 #5ab921 · 8.40:1
Use #000000AAA at every size.
Aa
White text · 2.50:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.40:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #5ab921 as text scores 2.50:1 on white and 8.40:1 on black.

Accessibility — WCAG contrast

Aa
#5ab921 on white: 2.50:1
AA ✗ fail · AA-large · AAA
Aa
#5ab921 on black: 8.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BFA900
deuteranopia · #B3A134
tritanopia · #54B29E

Color scale — 50 to 950

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

#F6FCF3
#EEF8E7
#D9F2CA
#BDEEA0
#9CE670
#7BDD41
#65D025
#5ab921
#438A19
#336416
#203F0E
Base = 700Lightest = 50 · #F6FCF3Darkest = 950 · #203F0E
:root {
  --brand-50: #F6FCF3;
  --brand-100: #EEF8E7;
  --brand-200: #D9F2CA;
  --brand-300: #BDEEA0;
  --brand-400: #9CE670;
  --brand-500: #7BDD41;
  --brand-600: #65D025;
  --brand-700: #5ab921;
  --brand-800: #438A19;
  --brand-900: #336416;
  --brand-950: #203F0E;
  --brand: #5ab921;
  --brand-ink: #000000;
}

Colors that work with #5ab921

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#F7FAF4
Tinted page background
Border#D1EDC0
Hairlines and dividers
Muted text#699B4B
Captions on the surface
Accent#591DBD
Second voice, not a rival
Dark variant#356C13
Hover, pressed, headers
Light variant#F0FBE9
Selected rows, tints
Dark surface#1A2414
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 #5ab921

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
  • Headers, footers and dark-mode surfaces
  • 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
  • Black text placed on it
  • 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#8021B9
Analogous left#A6B921
Analogous right#21B934
Split-complement 1#3421B9
Split-complement 2#B921A6
Triadic 1#215AB9
Triadic 2#B9215A
Tetradic#21A6B9

RGB percentages

Red35.3%
Green72.5%
Blue12.9%

CMYK percentages

Cyan51.4%
Magenta0.0%
Yellow82.2%
Key (black)27.5%

Color previews

#5ab921 text on a black background

contrast 8.40:1

Card sample

#5ab921 text on a white background

contrast 2.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(90, 185, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(90, 185, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5ab921;
background: linear-gradient(135deg, #5ab921, #21B94D);

Monochromatic scale

Palettes built from #5ab921

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.

#5ab921 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.

#5ab921, answered

What color is #5ab921?

#5ab921 is a dark vivid green, closest to Lime Green (ΔE2000 6.1). It sits at 98° on the hue wheel with 70% saturation and 43% lightness, which reads as neutral.

What is the RGB value of #5ab921?

rgb(90, 185, 33) — 90 red, 185 green and 33 blue out of 255, or 35.3% / 72.5% / 12.9% by channel.

Is #5ab921 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3698 and perceived brightness is 59%, so black text on it reaches 8.40:1.

Should I use black or white text on #5ab921?

Black. It scores 8.40:1 against #5ab921, versus 2.50:1 for white — AAA at any size.

What is the complementary color of #5ab921?

#8021B9 sits directly opposite on the wheel. Softer options are the split-complements #3421B9 and #B921A6, which give the same contrast with far less vibration.

What colors go well with #5ab921?

For interface work: #F7FAF4 as the surface, #D1EDC0 for borders, #699B4B for secondary text, #591DBD as an accent and #356C13 for hover and pressed states. For a palette, the analogous pair #A6B921 and #21B934 stays calm, while #8021B9 is the loudest partner.

What is #5ab921 in CMYK for printing?

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

Is #5ab921 warm or cool?

Neutral — it scores 53 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #92B921; nudged cooler, #20BB1F.

Work with #5ab921 in the Color Lab