Skip to content

#51c01c

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

RGB
81, 192, 28
HSL
101°, 75%, 43%
CMYK
58, 0, 85, 25
Luminance
0.3953

At a glance

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

Hex
#51c01c
Hue
101°
green
Saturation
75%
vivid
Lightness
43%
dark
Brightness
75%
HSV value
Perceived
60%
weighted brightness
Luminance
0.3953
WCAG relative
Temperature
Neutral
54/100 cool
Color family
Green
Tone
Vivid
Best ink
Black
8.91:1
Closest name
Lime Green
ΔE2000 4.2
Where it sits
Hue101° of 360°
Saturation75%
Lightness43%
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#51c01c
RGBrgb(81, 192, 28)
HSLhsl(101, 75%, 43%)
CMYKcmyk(58%, 0%, 85%, 25%)
LABlab(69.1 -57.9 64.6)
LCHlch(69.1 86.8 131.8)
OKLCHoklch(0.715 0.214 138.5)
Decimal5357596
Display P3color(display-p3 0.318 0.753 0.110)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#51c01c on white: 2.36:1
AA ✗ fail · AA-large · AAA
Aa
#51c01c on black: 8.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #C6AE00
deuteranopia · #B8A533
tritanopia · #46B9A3

Color scale — 50 to 950

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

#F6FCF3
#EDF9E7
#D6F4C8
#B8F19D
#95EA6C
#71E23B
#5AD61F
#51c01c
#3C8E15
#2E6713
#1D400C
Base = 700Lightest = 50 · #F6FCF3Darkest = 950 · #1D400C
:root {
  --brand-50: #F6FCF3;
  --brand-100: #EDF9E7;
  --brand-200: #D6F4C8;
  --brand-300: #B8F19D;
  --brand-400: #95EA6C;
  --brand-500: #71E23B;
  --brand-600: #5AD61F;
  --brand-700: #51c01c;
  --brand-800: #3C8E15;
  --brand-900: #2E6713;
  --brand-950: #1D400C;
  --brand: #51c01c;
  --brand-ink: #000000;
}

Colors that work with #51c01c

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#CEEDC0
Hairlines and dividers
Muted text#659B4B
Captions on the surface
Accent#6118C4
Second voice, not a rival
Dark variant#2F6F10
Hover, pressed, headers
Light variant#EFFCE9
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 #51c01c

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#8B1CC0
Analogous left#A3C01C
Analogous right#1CC039
Split-complement 1#391CC0
Split-complement 2#C01CA3
Triadic 1#1C51C0
Triadic 2#C01C51
Tetradic#1CA3C0

RGB percentages

Red31.8%
Green75.3%
Blue11.0%

CMYK percentages

Cyan57.8%
Magenta0.0%
Yellow85.4%
Key (black)24.7%

Color previews

#51c01c text on a black background

contrast 8.91:1

Card sample

#51c01c text on a white background

contrast 2.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(81, 192, 28, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(81, 192, 28, 0.45);
Border & gradient
Gradient panel
border: 3px solid #51c01c;
background: linear-gradient(135deg, #51c01c, #1CC054);

Monochromatic scale

Palettes built from #51c01c

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.

#51c01c 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

Converts to four-color process without much drama. Proof it anyway.

#51c01c, answered

What color is #51c01c?

#51c01c is a dark vivid green, closest to Lime Green (ΔE2000 4.2). It sits at 101° on the hue wheel with 75% saturation and 43% lightness, which reads as neutral.

What is the RGB value of #51c01c?

rgb(81, 192, 28) — 81 red, 192 green and 28 blue out of 255, or 31.8% / 75.3% / 11% by channel.

Is #51c01c a light or a dark color?

It is a mid-tone. Relative luminance is 0.3953 and perceived brightness is 60%, so black text on it reaches 8.91:1.

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

Black. It scores 8.91:1 against #51c01c, versus 2.36:1 for white — AAA at any size.

What is the complementary color of #51c01c?

#8B1CC0 sits directly opposite on the wheel. Softer options are the split-complements #391CC0 and #C01CA3, which give the same contrast with far less vibration.

What colors go well with #51c01c?

For interface work: #F6FAF4 as the surface, #CEEDC0 for borders, #659B4B for secondary text, #6118C4 as an accent and #2F6F10 for hover and pressed states. For a palette, the analogous pair #A3C01C and #1CC039 stays calm, while #8B1CC0 is the loudest partner.

What is #51c01c in CMYK for printing?

cmyk(58%, 0%, 85%, 25%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #51c01c 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 #8DC01C; nudged cooler, #1AC221.

Work with #51c01c in the Color Lab