#51B142#51B142

#51B142 is a light, vivid green. Relative luminance 0.336; OKLCH L 67.8% C 0.175 H 141.1°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#51B142
RGBrgb(81, 177, 66)
HSLhsl(112, 46%, 48%)
HSVhsv(112, 63%, 69%)
CMYKcmyk(54.2%, 0%, 62.7%, 30.6%)
CIE-LABlab(64.63, -49.67, 47.08)
CIE-LCHlch(64.63, 68.44, 136.53°)
OKLaboklab(67.85% -0.1358 0.1097)
OKLCHoklch(67.85% 0.175 141.1)
XYZxyz(20.0979, 33.5853, 10.5767)
Luminance0.3359 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51B142 #A242B1
analogous
#88B142 #51B142 #42B16B
triadic
#51B142 #4251B1 #B14251
tetradic
#51B142 #4288B1 #A242B1 #B16B42
square
#51B142 #4288B1 #A242B1 #B16B42
split-complementary
#51B142 #6B42B1 #B14288
monochromatic
#285821 #3D8431 #51B142 #76C769 #9FD896

Accessibility & contrast

On white

2.72
#51B142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#51B142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51B142
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51B142#FFFFFF#000000##000000
##51B1421.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A235
Deuteranopia (green-blind)
#A99A4B
Tritanopia (blue-blind)
#45AC9A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #51b142;
/* rgb */ color: rgb(81, 177, 66);
/* oklch */ color: oklch(67.8% 0.175 141.1);
Tailwind
colors: {
  custom: {
    50: '#8bc97b',
    500: '#51b142',
    950: '#000000',
  },
}
SCSS
$custom: #51b142;
$custom-light: #8bc97b;
$custom-dark: #000000;
JSON
{
  "hex": "#51b142",
  "rgb": {
    "r": 81,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 111.892,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.67848,
    "c": 0.17454,
    "h": 141.1
  },
  "luminance": 0.33587
}

Semantic roles & 50–950 ramp

primary
#51B142
secondary
#BC8BC3
accent
#52D5C4
background
#F9FCF7
surface
#F1F8EE
border
#CBD1C9
text
#0D130A
muted
#7E827C

Preview Lab

Preview with #51B142

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

Preview Lab → · Contrast checker → · Palette generator →

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