Skip to content

#51c708

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

RGB
81, 199, 8
HSL
97°, 92%, 41%
CMYK
59, 0, 96, 22
Luminance
0.4261

At a glance

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

Hex
#51c708
Hue
97°
green
Saturation
92%
electric
Lightness
41%
dark
Brightness
78%
HSV value
Perceived
62%
weighted brightness
Luminance
0.4261
WCAG relative
Temperature
Neutral
53/100 cool
Color family
Green
Tone
Electric
Best ink
Black
9.52:1
Closest name
Lime Green
ΔE2000 3.8
Where it sits
Hue97° of 360°
Saturation92%
Lightness41%
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#51c708
RGBrgb(81, 199, 8)
HSLhsl(97, 92%, 41%)
CMYKcmyk(59%, 0%, 96%, 22%)
LABlab(71.3 -60.8 69.6)
LCHlch(71.3 92.5 131.1)
OKLCHoklch(0.733 0.226 138.3)
Decimal5359368
Display P3color(display-p3 0.318 0.780 0.031)

Copy-ready code

/* CSS */
color: #51c708;
background-color: #51c708;
/* Tailwind (arbitrary) */
class="text-[#51c708] bg-[#51c708]"
/* SCSS */
$brand: #51c708;
/* SwiftUI */
Color(red: 0.318, green: 0.780, blue: 0.031)
/* Android */
Color.parseColor("#51c708")
/* Flutter */
Color(0xFF51C708)
/* Python / OpenCV (BGR) */
(8, 199, 81)

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

Accessibility — WCAG contrast

Aa
#51c708 on white: 2.21:1
AA ✗ fail · AA-large · AAA
Aa
#51c708 on black: 9.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #CDB400
deuteranopia · #BFAB2D
tritanopia · #45C0A9

Color scale — 50 to 950

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

#F6FDF2
#EDFBE4
#D7F9C3
#BBFB93
#98F95D
#76F627
#60EB09
#51c708
#409D06
#317109
#1F4706
Base = 700Lightest = 50 · #F6FDF2Darkest = 950 · #1F4706
:root {
  --brand-50: #F6FDF2;
  --brand-100: #EDFBE4;
  --brand-200: #D7F9C3;
  --brand-300: #BBFB93;
  --brand-400: #98F95D;
  --brand-500: #76F627;
  --brand-600: #60EB09;
  --brand-700: #51c708;
  --brand-800: #409D06;
  --brand-900: #317109;
  --brand-950: #1F4706;
  --brand: #51c708;
  --brand-ink: #000000;
}

Colors that work with #51c708

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#4D04CB
Second voice, not a rival
Dark variant#327B05
Hover, pressed, headers
Light variant#EFFEE6
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 #51c708

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#7E08C7
Analogous left#B0C708
Analogous right#08C71F
Split-complement 1#1F08C7
Split-complement 2#C708B0
Triadic 1#0851C7
Triadic 2#C70851
Tetradic#08B0C7

RGB percentages

Red31.8%
Green78.0%
Blue3.1%

CMYK percentages

Cyan59.3%
Magenta0.0%
Yellow96.0%
Key (black)22.0%

Color previews

#51c708 text on a black background

contrast 9.52:1

Card sample

#51c708 text on a white background

contrast 2.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #51c708;
Background color
Panel with #51c708 background
background-color: #51c708;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #51c708;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(81, 199, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(81, 199, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #51c708;
background: linear-gradient(135deg, #51c708, #08C73E);

Monochromatic scale

Palettes built from #51c708

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.

#51c708 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.

#51c708, answered

What color is #51c708?

#51c708 is a dark electric green, closest to Lime Green (ΔE2000 3.8). It sits at 97° on the hue wheel with 92% saturation and 41% lightness, which reads as neutral.

What is the RGB value of #51c708?

rgb(81, 199, 8) — 81 red, 199 green and 8 blue out of 255, or 31.8% / 78% / 3.1% by channel.

Is #51c708 a light or a dark color?

It is a mid-tone. Relative luminance is 0.4261 and perceived brightness is 62%, so black text on it reaches 9.52:1.

Should I use black or white text on #51c708?

Black. It scores 9.52:1 against #51c708, versus 2.21:1 for white — AAA at any size.

What is the complementary color of #51c708?

#7E08C7 sits directly opposite on the wheel. Softer options are the split-complements #1F08C7 and #C708B0, which give the same contrast with far less vibration.

What colors go well with #51c708?

For interface work: #F7FAF4 as the surface, #D1EDC0 for borders, #699B4B for secondary text, #4D04CB as an accent and #327B05 for hover and pressed states. For a palette, the analogous pair #B0C708 and #08C71F stays calm, while #7E08C7 is the loudest partner.

What is #51c708 in CMYK for printing?

cmyk(59%, 0%, 96%, 22%). 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 #51c708 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 #97C708; nudged cooler, #09C906.

Work with #51c708 in the Color Lab