#51C142#51C142

#51C142 is a light, vivid green. Relative luminance 0.403; OKLCH L 72.0% C 0.195 H 141.4°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#51C142
RGBrgb(81, 193, 66)
HSLhsl(113, 51%, 51%)
HSVhsv(113, 66%, 76%)
CMYKcmyk(58%, 0%, 65.8%, 24.3%)
CIE-LABlab(69.67, -55.69, 52.64)
CIE-LCHlch(69.67, 76.63, 136.61°)
OKLaboklab(72% -0.1521 0.1215)
OKLCHoklch(72% 0.195 141.4)
XYZxyz(23.4455, 40.2805, 11.6926)
Luminance0.4028 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51C142 #B242C1
analogous
#91C142 #51C142 #42C172
triadic
#51C142 #4251C1 #C14251
tetradic
#51C142 #4291C1 #B242C1 #C17242
square
#51C142 #4291C1 #B242C1 #C17242
split-complementary
#51C142 #7242C1 #C14291
monochromatic
#2A6722 #3D9531 #51C142 #7BD070 #A6DF9E

Accessibility & contrast

On white

2.32
#51C142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#51C142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51C142
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51C142#FFFFFF#000000##000000
##51C1421.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B032
Deuteranopia (green-blind)
#B8A74D
Tritanopia (blue-blind)
#41BBA7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #51c142;
/* rgb */ color: rgb(81, 193, 66);
/* oklch */ color: oklch(72.0% 0.195 141.4);
Tailwind
colors: {
  custom: {
    50: '#8dd57c',
    500: '#51c142',
    950: '#000000',
  },
}
SCSS
$custom: #51c142;
$custom-light: #8dd57c;
$custom-dark: #000000;
JSON
{
  "hex": "#51c142",
  "rgb": {
    "r": 81,
    "g": 193,
    "b": 66
  },
  "hsl": {
    "h": 112.913,
    "s": 50.598,
    "l": 50.784
  },
  "oklch": {
    "l": 0.71999,
    "c": 0.19463,
    "h": 141.4
  },
  "luminance": 0.40283
}

Semantic roles & 50–950 ramp

primary
#51C142
secondary
#C593CC
accent
#4EDACA
background
#F9FDF7
surface
#F2FAEE
border
#CCD3C9
text
#0D140A
muted
#7E837C

Preview Lab

Preview with #51C142

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

Preview Lab → · Contrast checker → · Palette generator →

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