Skip to content

#5ff813

a balanced, electric green · neutral · closest name: Lawn Green

RGB
95, 248, 19
HSL
100°, 94%, 52%
CMYK
62, 0, 92, 3
Luminance
0.6961

At a glance

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

Hex
#5ff813
Hue
100°
green
Saturation
94%
electric
Lightness
52%
balanced
Brightness
97%
HSV value
Perceived
77%
weighted brightness
Luminance
0.6961
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Green
Tone
Electric
Best ink
Black
14.92:1
Closest name
Lawn Green
ΔE2000 2.5
Where it sits
Hue100° of 360°
Saturation94%
Lightness52%
Temperature
Warm ← → Cool54% 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#5ff813
RGBrgb(95, 248, 19)
HSLhsl(100, 94%, 52%)
CMYKcmyk(62%, 0%, 92%, 3%)
LABlab(86.8 -73.5 81.3)
LCHlch(86.8 109.6 132.1)
OKLCHoklch(0.862 0.268 139.1)
Decimal6289427
Display P3color(display-p3 0.373 0.973 0.075)

Copy-ready code

/* CSS */
color: #5ff813;
background-color: #5ff813;
/* Tailwind (arbitrary) */
class="text-[#5ff813] bg-[#5ff813]"
/* SCSS */
$brand: #5ff813;
/* SwiftUI */
Color(red: 0.373, green: 0.973, blue: 0.075)
/* Android */
Color.parseColor("#5ff813")
/* Flutter */
Color(0xFF5FF813)
/* Python / OpenCV (BGR) */
(19, 248, 95)

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

Accessibility — WCAG contrast

Aa
#5ff813 on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#5ff813 on black: 14.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #FFE100
deuteranopia · #EDD53C
tritanopia · #4BEFD3

Color scale — 50 to 950

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

#F5FDF2
#ECFBE4
#D4FAC2
#B5FC92
#90FA5C
#5ff813
#54EE07
#46C606
#389E05
#2B7208
#1B4705
Base = 500Lightest = 50 · #F5FDF2Darkest = 950 · #1B4705
:root {
  --brand-50: #F5FDF2;
  --brand-100: #ECFBE4;
  --brand-200: #D4FAC2;
  --brand-300: #B5FC92;
  --brand-400: #90FA5C;
  --brand-500: #5ff813;
  --brand-600: #54EE07;
  --brand-700: #46C606;
  --brand-800: #389E05;
  --brand-900: #2B7208;
  --brand-950: #1B4705;
  --brand: #5ff813;
  --brand-ink: #000000;
}

Colors that work with #5ff813

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#F6FAF4
Tinted page background
Border#CFEDC0
Hairlines and dividers
Muted text#659B4B
Captions on the surface
Accent#720EFD
Second voice, not a rival
Dark variant#2C7C04
Hover, pressed, headers
Light variant#EEFEE6
Selected rows, tints
Dark surface#192414
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 #5ff813

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#AC13F8
Analogous left#D1F813
Analogous right#13F83A
Split-complement 1#3A13F8
Split-complement 2#F813D1
Triadic 1#135FF8
Triadic 2#F8135F
Tetradic#13D1F8

RGB percentages

Red37.3%
Green97.3%
Blue7.5%

CMYK percentages

Cyan61.7%
Magenta0.0%
Yellow92.3%
Key (black)2.7%

Color previews

#5ff813 text on a black background

contrast 14.92:1

Card sample

#5ff813 text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(95, 248, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(95, 248, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5ff813;
background: linear-gradient(135deg, #5ff813, #13F860);

Monochromatic scale

Palettes built from #5ff813

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.

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

#5ff813, answered

What color is #5ff813?

#5ff813 is a balanced electric green, closest to Lawn Green (ΔE2000 2.5). It sits at 100° on the hue wheel with 94% saturation and 52% lightness, which reads as neutral.

What is the RGB value of #5ff813?

rgb(95, 248, 19) — 95 red, 248 green and 19 blue out of 255, or 37.3% / 97.3% / 7.5% by channel.

Is #5ff813 a light or a dark color?

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

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

Black. It scores 14.92:1 against #5ff813, versus 1.41:1 for white — AAA at any size.

What is the complementary color of #5ff813?

#AC13F8 sits directly opposite on the wheel. Softer options are the split-complements #3A13F8 and #F813D1, which give the same contrast with far less vibration.

What colors go well with #5ff813?

For interface work: #F6FAF4 as the surface, #CFEDC0 for borders, #659B4B for secondary text, #720EFD as an accent and #2C7C04 for hover and pressed states. For a palette, the analogous pair #D1F813 and #13F83A stays calm, while #AC13F8 is the loudest partner.

What is #5ff813 in CMYK for printing?

cmyk(62%, 0%, 92%, 3%). 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 #5ff813 warm or cool?

Neutral — it scores 54 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B3F813; nudged cooler, #11FA19.

Work with #5ff813 in the Color Lab