Skip to content

#51b708

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

RGB
81, 183, 8
HSL
95°, 92%, 38%
CMYK
56, 0, 96, 28
Luminance
0.3563

At a glance

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

Hex
#51b708
Hue
95°
green
Saturation
92%
electric
Lightness
38%
dark
Brightness
72%
HSV value
Perceived
58%
weighted brightness
Luminance
0.3563
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Green
Tone
Electric
Best ink
Black
8.13:1
Closest name
Lime Green
ΔE2000 6.5
Where it sits
Hue95° of 360°
Saturation92%
Lightness38%
Temperature
Warm ← → Cool52% 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#51b708
RGBrgb(81, 183, 8)
HSLhsl(95, 92%, 38%)
CMYKcmyk(56%, 0%, 96%, 28%)
LABlab(66.2 -55.3 65.5)
LCHlch(66.2 85.7 130.1)
OKLCHoklch(0.691 0.209 137.4)
Decimal5355272
Display P3color(display-p3 0.318 0.718 0.031)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#51b708 on white: 2.58:1
AA ✗ fail · AA-large · AAA
Aa
#51b708 on black: 8.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #BDA600
deuteranopia · #B19E29
tritanopia · #49B09B

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #51b708 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
#EEFBE4
#D9F9C3
#BEFA94
#9EF85E
#7EF628
#68EB0A
#51b708
#459C07
#35710A
#214606
Base = 700Lightest = 50 · #F6FDF2Darkest = 950 · #214606
:root {
  --brand-50: #F6FDF2;
  --brand-100: #EEFBE4;
  --brand-200: #D9F9C3;
  --brand-300: #BEFA94;
  --brand-400: #9EF85E;
  --brand-500: #7EF628;
  --brand-600: #68EB0A;
  --brand-700: #51b708;
  --brand-800: #459C07;
  --brand-900: #35710A;
  --brand-950: #214606;
  --brand: #51b708;
  --brand-ink: #000000;
}

Colors that work with #51b708

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#D2EDC0
Hairlines and dividers
Muted text#6C9B4B
Captions on the surface
Accent#4104BB
Second voice, not a rival
Dark variant#367A05
Hover, pressed, headers
Light variant#F0FEE7
Selected rows, tints
Dark surface#1B2414
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 #51b708

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#6E08B7
Analogous left#A9B708
Analogous right#08B717
Split-complement 1#1708B7
Split-complement 2#B708A9
Triadic 1#0851B7
Triadic 2#B70851
Tetradic#08A9B7

RGB percentages

Red31.8%
Green71.8%
Blue3.1%

CMYK percentages

Cyan55.7%
Magenta0.0%
Yellow95.6%
Key (black)28.2%

Color previews

#51b708 text on a black background

contrast 8.13:1

Card sample

#51b708 text on a white background

contrast 2.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #51b708

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.

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

#51b708, answered

What color is #51b708?

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

What is the RGB value of #51b708?

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

Is #51b708 a light or a dark color?

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

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

Black. It scores 8.13:1 against #51b708, versus 2.58:1 for white — AAA at any size.

What is the complementary color of #51b708?

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

What colors go well with #51b708?

For interface work: #F7FAF4 as the surface, #D2EDC0 for borders, #6C9B4B for secondary text, #4104BB as an accent and #367A05 for hover and pressed states. For a palette, the analogous pair #A9B708 and #08B717 stays calm, while #6E08B7 is the loudest partner.

What is #51b708 in CMYK for printing?

cmyk(56%, 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 #51b708 warm or cool?

Neutral — it scores 52 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #91B708; nudged cooler, #0FB906.

Work with #51b708 in the Color Lab