Skip to content

#5abc98

a balanced, soft green · cool · closest name: Medium Aqua Marine

RGB
90, 188, 152
HSL
158°, 42%, 55%
CMYK
52, 0, 19, 26
Luminance
0.4041

At a glance

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

Hex
#5abc98
Hue
158°
green
Saturation
42%
soft
Lightness
55%
balanced
Brightness
74%
HSV value
Perceived
63%
weighted brightness
Luminance
0.4041
WCAG relative
Temperature
Cool
78/100 cool
Color family
Green
Tone
Soft
Best ink
Black
9.08:1
Closest name
Medium Aqua Marine
ΔE2000 4.5
Where it sits
Hue158° of 360°
Saturation42%
Lightness55%
Temperature
Warm ← → Cool78% cool

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

Every format

HEX#5abc98
RGBrgb(90, 188, 152)
HSLhsl(158, 42%, 55%)
CMYKcmyk(52%, 0%, 19%, 26%)
LABlab(69.8 -37.5 9.5)
LCHlch(69.8 38.7 165.8)
OKLCHoklch(0.726 0.107 166.9)
Decimal5946520
Display P3color(display-p3 0.353 0.737 0.596)

Copy-ready code

/* CSS */
color: #5abc98;
background-color: #5abc98;
/* Tailwind (arbitrary) */
class="text-[#5abc98] bg-[#5abc98]"
/* SCSS */
$brand: #5abc98;
/* SwiftUI */
Color(red: 0.353, green: 0.737, blue: 0.596)
/* Android */
Color.parseColor("#5abc98")
/* Flutter */
Color(0xFF5ABC98)
/* Python / OpenCV (BGR) */
(152, 188, 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 #5abc98 · 9.08:1
Use #000000AAA at every size.
Aa
White text · 2.31:1
AA fail · AA large fail · AAA fail
Aa
Black text · 9.08:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #5abc98 as text scores 2.31:1 on white and 9.08:1 on black.

Accessibility — WCAG contrast

Aa
#5abc98 on white: 2.31:1
AA ✗ fail · AA-large · AAA
Aa
#5abc98 on black: 9.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #B8B196
deuteranopia · #A9A69A
tritanopia · #33BDB2

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #5abc98 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.

#F5FAF8
#EBF5F1
#D2EAE1
#AFDFCD
#87CEB4
#5abc98
#47AE88
#3B9171
#2F745B
#255544
#17352A
Base = 500Lightest = 50 · #F5FAF8Darkest = 950 · #17352A
:root {
  --brand-50: #F5FAF8;
  --brand-100: #EBF5F1;
  --brand-200: #D2EAE1;
  --brand-300: #AFDFCD;
  --brand-400: #87CEB4;
  --brand-500: #5abc98;
  --brand-600: #47AE88;
  --brand-700: #3B9171;
  --brand-800: #2F745B;
  --brand-900: #255544;
  --brand-950: #17352A;
  --brand: #5abc98;
  --brand-ink: #000000;
}

Colors that work with #5abc98

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#F4FAF8
Tinted page background
Border#C5E7DB
Hairlines and dividers
Muted text#4B9B7D
Captions on the surface
Accent#C15597
Second voice, not a rival
Dark variant#255B47
Hover, pressed, headers
Light variant#EDF8F4
Selected rows, tints
Dark surface#14241E
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 #5abc98

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

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • 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#BC5A7E
Analogous left#5ABC67
Analogous right#5AAFBC
Split-complement 1#BC5AAF
Split-complement 2#BC675A
Triadic 1#985ABC
Triadic 2#BC985A
Tetradic#675ABC

RGB percentages

Red35.3%
Green73.7%
Blue59.6%

CMYK percentages

Cyan52.1%
Magenta0.0%
Yellow19.1%
Key (black)26.3%

Color previews

#5abc98 text on a black background

contrast 9.08:1

Card sample

#5abc98 text on a white background

contrast 2.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(90, 188, 152, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(90, 188, 152, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5abc98;
background: linear-gradient(135deg, #5abc98, #5A9FBC);

Monochromatic scale

Palettes built from #5abc98

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.

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

#5abc98, answered

What color is #5abc98?

#5abc98 is a balanced soft green, closest to Medium Aqua Marine (ΔE2000 4.5). It sits at 158° on the hue wheel with 42% saturation and 55% lightness, which reads as cool.

What is the RGB value of #5abc98?

rgb(90, 188, 152) — 90 red, 188 green and 152 blue out of 255, or 35.3% / 73.7% / 59.6% by channel.

Is #5abc98 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4041 and perceived brightness is 63%, so black text on it reaches 9.08:1.

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

Black. It scores 9.08:1 against #5abc98, versus 2.31:1 for white — AAA at any size.

What is the complementary color of #5abc98?

#BC5A7E sits directly opposite on the wheel. Softer options are the split-complements #BC5AAF and #BC675A, which give the same contrast with far less vibration.

What colors go well with #5abc98?

For interface work: #F4FAF8 as the surface, #C5E7DB for borders, #4B9B7D for secondary text, #C15597 as an accent and #255B47 for hover and pressed states. For a palette, the analogous pair #5ABC67 and #5AAFBC stays calm, while #BC5A7E is the loudest partner.

What is #5abc98 in CMYK for printing?

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

Is #5abc98 warm or cool?

Cool — it scores 78 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5ABC74; nudged cooler, #58BEBE.

Work with #5abc98 in the Color Lab