Skip to content

#5af080

a balanced, electric green · cool · closest name: Spring Green

RGB
90, 240, 128
HSL
135°, 83%, 65%
CMYK
63, 0, 47, 6
Luminance
0.6605

At a glance

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

Hex
#5af080
Hue
135°
green
Saturation
83%
electric
Lightness
65%
balanced
Brightness
94%
HSV value
Perceived
77%
weighted brightness
Luminance
0.6605
WCAG relative
Temperature
Cool
69/100 cool
Color family
Green
Tone
Electric
Best ink
Black
14.21:1
Closest name
Spring Green
ΔE2000 4
Where it sits
Hue135° of 360°
Saturation83%
Lightness65%
Temperature
Warm ← → Cool69% 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#5af080
RGBrgb(90, 240, 128)
HSLhsl(135, 83%, 65%)
CMYKcmyk(63%, 0%, 47%, 6%)
LABlab(85.0 -63.0 42.5)
LCHlch(85.0 76.0 146.0)
OKLCHoklch(0.850 0.199 148.7)
Decimal5959808
Display P3color(display-p3 0.353 0.941 0.502)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5af080 on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#5af080 on black: 14.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #F2DC77
deuteranopia · #DFCF88
tritanopia · #2AECD5

Color scale — 50 to 950

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

#F2FCF5
#E6FAEB
#C6F6D2
#98F6B0
#5af080
#31EC61
#14E048
#11BB3C
#0E9630
#0E6C26
#094418
Base = 400Lightest = 50 · #F2FCF5Darkest = 950 · #094418
:root {
  --brand-50: #F2FCF5;
  --brand-100: #E6FAEB;
  --brand-200: #C6F6D2;
  --brand-300: #98F6B0;
  --brand-400: #5af080;
  --brand-500: #31EC61;
  --brand-600: #14E048;
  --brand-700: #11BB3C;
  --brand-800: #0E9630;
  --brand-900: #0E6C26;
  --brand-950: #094418;
  --brand: #5af080;
  --brand-ink: #000000;
}

Colors that work with #5af080

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#F4FAF6
Tinted page background
Border#C0EDCB
Hairlines and dividers
Muted text#4B9B5F
Captions on the surface
Accent#C00CBE
Second voice, not a rival
Dark variant#0B7526
Hover, pressed, headers
Light variant#E8FDED
Selected rows, tints
Dark surface#142418
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 #5af080

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#F05ACA
Analogous left#7FF05A
Analogous right#5AF0CB
Split-complement 1#CB5AF0
Split-complement 2#F05A7F
Triadic 1#805AF0
Triadic 2#F0805A
Tetradic#5A7FF0

RGB percentages

Red35.3%
Green94.1%
Blue50.2%

CMYK percentages

Cyan62.5%
Magenta0.0%
Yellow46.7%
Key (black)5.9%

Color previews

#5af080 text on a black background

contrast 14.21:1

Card sample

#5af080 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #5af080

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.

#5af080 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#5af080, answered

What color is #5af080?

#5af080 is a balanced electric green, closest to Spring Green (ΔE2000 4). It sits at 135° on the hue wheel with 83% saturation and 65% lightness, which reads as cool.

What is the RGB value of #5af080?

rgb(90, 240, 128) — 90 red, 240 green and 128 blue out of 255, or 35.3% / 94.1% / 50.2% by channel.

Is #5af080 a light or a dark color?

It is a light color. Relative luminance is 0.6605 and perceived brightness is 77%, so black text on it reaches 14.21:1.

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

Black. It scores 14.21:1 against #5af080, versus 1.48:1 for white — AAA at any size.

What is the complementary color of #5af080?

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

What colors go well with #5af080?

For interface work: #F4FAF6 as the surface, #C0EDCB for borders, #4B9B5F for secondary text, #C00CBE as an accent and #0B7526 for hover and pressed states. For a palette, the analogous pair #7FF05A and #5AF0CB stays calm, while #F05ACA is the loudest partner.

What is #5af080 in CMYK for printing?

cmyk(63%, 0%, 47%, 6%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #5af080 warm or cool?

Cool — it scores 69 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #6BF05A; nudged cooler, #58F2B7.

Work with #5af080 in the Color Lab