#51C040#51C040

#51C040 is a light, vivid green. Relative luminance 0.398; OKLCH L 71.7% C 0.195 H 141.1°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#51C040
RGBrgb(81, 192, 64)
HSLhsl(112, 50%, 50%)
HSVhsv(112, 67%, 75%)
CMYKcmyk(57.8%, 0%, 66.7%, 24.7%)
CIE-LABlab(69.34, -55.51, 53.11)
CIE-LCHlch(69.34, 76.82, 136.26°)
OKLaboklab(71.72% -0.1517 0.1222)
OKLCHoklch(71.72% 0.195 141.1)
XYZxyz(23.1673, 39.8167, 11.3140)
Luminance0.3982 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51C040 #AF40C0
analogous
#91C040 #51C040 #40C06F
triadic
#51C040 #4051C0 #C04051
tetradic
#51C040 #4091C0 #AF40C0 #C06F40
square
#51C040 #4091C0 #AF40C0 #C06F40
split-complementary
#51C040 #6F40C0 #C04091
monochromatic
#2A6421 #3D9230 #51C040 #7BCF6E #A5DE9C

Accessibility & contrast

On white

2.34
#51C040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#51C040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51C040
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51C040#FFFFFF#000000##000000
##51C0401.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF2F
Deuteranopia (green-blind)
#B7A64C
Tritanopia (blue-blind)
#42BAA6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #51c040;
/* rgb */ color: rgb(81, 192, 64);
/* oklch */ color: oklch(71.7% 0.195 141.1);
Tailwind
colors: {
  custom: {
    50: '#8dd47b',
    500: '#51c040',
    950: '#000000',
  },
}
SCSS
$custom: #51c040;
$custom-light: #8dd47b;
$custom-dark: #000000;
JSON
{
  "hex": "#51c040",
  "rgb": {
    "r": 81,
    "g": 192,
    "b": 64
  },
  "hsl": {
    "h": 112.031,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.71722,
    "c": 0.19482,
    "h": 141.1
  },
  "luminance": 0.39819
}

Semantic roles & 50–950 ramp

primary
#51C040
secondary
#C391CB
accent
#4EDAC7
background
#F9FDF7
surface
#F1FAEE
border
#CBD3C9
text
#0D140A
muted
#7E837C

Preview Lab

Preview with #51C040

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#51C040 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva