Skip to content

#5ab708

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

RGB
90, 183, 8
HSL
92°, 92%, 38%
CMYK
51, 0, 96, 28
Luminance
0.3606

At a glance

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

Hex
#5ab708
Hue
92°
green
Saturation
92%
electric
Lightness
38%
dark
Brightness
72%
HSV value
Perceived
58%
weighted brightness
Luminance
0.3606
WCAG relative
Temperature
Neutral
51/100 cool
Color family
Green
Tone
Electric
Best ink
Black
8.21:1
Closest name
Lime Green
ΔE2000 7
Where it sits
Hue92° of 360°
Saturation92%
Lightness38%
Temperature
Warm ← → Cool51% 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#5ab708
RGBrgb(90, 183, 8)
HSLhsl(92, 92%, 38%)
CMYKcmyk(51%, 0%, 96%, 28%)
LABlab(66.6 -52.7 65.9)
LCHlch(66.6 84.4 128.6)
OKLCHoklch(0.694 0.205 136.0)
Decimal5945096
Display P3color(display-p3 0.353 0.718 0.031)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5ab708 on white: 2.56:1
AA ✗ fail · AA-large · AAA
Aa
#5ab708 on black: 8.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BEA700
deuteranopia · #B29F28
tritanopia · #55B09B

Color scale — 50 to 950

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

#F7FDF2
#EFFBE4
#DCF9C3
#C4FA94
#A6F85E
#88F628
#73EB0A
#5ab708
#4D9C07
#3A710A
#244606
Base = 700Lightest = 50 · #F7FDF2Darkest = 950 · #244606
:root {
  --brand-50: #F7FDF2;
  --brand-100: #EFFBE4;
  --brand-200: #DCF9C3;
  --brand-300: #C4FA94;
  --brand-400: #A6F85E;
  --brand-500: #88F628;
  --brand-600: #73EB0A;
  --brand-700: #5ab708;
  --brand-800: #4D9C07;
  --brand-900: #3A710A;
  --brand-950: #244606;
  --brand: #5ab708;
  --brand-ink: #000000;
}

Colors that work with #5ab708

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#D5EDC0
Hairlines and dividers
Muted text#709B4B
Captions on the surface
Accent#3804BB
Second voice, not a rival
Dark variant#3C7A05
Hover, pressed, headers
Light variant#F2FEE7
Selected rows, tints
Dark surface#1C2414
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 #5ab708

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#6508B7
Analogous left#B2B708
Analogous right#08B70E
Split-complement 1#0E08B7
Split-complement 2#B708B2
Triadic 1#085AB7
Triadic 2#B7085A
Tetradic#08B2B7

RGB percentages

Red35.3%
Green71.8%
Blue3.1%

CMYK percentages

Cyan50.8%
Magenta0.0%
Yellow95.6%
Key (black)28.2%

Color previews

#5ab708 text on a black background

contrast 8.21:1

Card sample

#5ab708 text on a white background

contrast 2.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #5ab708

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.

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

#5ab708, answered

What color is #5ab708?

#5ab708 is a dark electric green, closest to Lime Green (ΔE2000 7). It sits at 92° on the hue wheel with 92% saturation and 38% lightness, which reads as neutral.

What is the RGB value of #5ab708?

rgb(90, 183, 8) — 90 red, 183 green and 8 blue out of 255, or 35.3% / 71.8% / 3.1% by channel.

Is #5ab708 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3606 and perceived brightness is 58%, so black text on it reaches 8.21:1.

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

Black. It scores 8.21:1 against #5ab708, versus 2.56:1 for white — AAA at any size.

What is the complementary color of #5ab708?

#6508B7 sits directly opposite on the wheel. Softer options are the split-complements #0E08B7 and #B708B2, which give the same contrast with far less vibration.

What colors go well with #5ab708?

For interface work: #F7FAF4 as the surface, #D5EDC0 for borders, #709B4B for secondary text, #3804BB as an accent and #3C7A05 for hover and pressed states. For a palette, the analogous pair #B2B708 and #08B70E stays calm, while #6508B7 is the loudest partner.

What is #5ab708 in CMYK for printing?

cmyk(51%, 0%, 96%, 28%). 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 #5ab708 warm or cool?

Neutral — it scores 51 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #9AB708; nudged cooler, #18B906.

Work with #5ab708 in the Color Lab