#51C042#51C042

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

Color values

HEX#51C042
RGBrgb(81, 192, 66)
HSLhsl(113, 50%, 51%)
HSVhsv(113, 66%, 75%)
CMYKcmyk(57.8%, 0%, 65.6%, 24.7%)
CIE-LABlab(69.36, -55.32, 52.30)
CIE-LCHlch(69.36, 76.13, 136.61°)
OKLaboklab(71.74% -0.1511 0.1208)
OKLCHoklch(71.74% 0.193 141.4)
XYZxyz(23.2252, 39.8399, 11.6192)
Luminance0.3984 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51C042 #B142C0
analogous
#90C042 #51C042 #42C072
triadic
#51C042 #4251C0 #C04251
tetradic
#51C042 #4290C0 #B142C0 #C07242
square
#51C042 #4290C0 #B142C0 #C07242
split-complementary
#51C042 #7242C0 #C04290
monochromatic
#2A6622 #3D9431 #51C042 #7BCF70 #A6DF9E

Accessibility & contrast

On white

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

On black

8.97
#51C042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51C042
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51C042#FFFFFF#000000##000000
##51C0421.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF32
Deuteranopia (green-blind)
#B7A64D
Tritanopia (blue-blind)
#41BAA6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #51c042;
/* rgb */ color: rgb(81, 192, 66);
/* oklch */ color: oklch(71.7% 0.193 141.4);
Tailwind
colors: {
  custom: {
    50: '#8dd47c',
    500: '#51c042',
    950: '#000000',
  },
}
SCSS
$custom: #51c042;
$custom-light: #8dd47c;
$custom-dark: #000000;
JSON
{
  "hex": "#51c042",
  "rgb": {
    "r": 81,
    "g": 192,
    "b": 66
  },
  "hsl": {
    "h": 112.857,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.71741,
    "c": 0.19341,
    "h": 141.4
  },
  "luminance": 0.39842
}

Semantic roles & 50–950 ramp

primary
#51C042
secondary
#C493CB
accent
#4EDAC9
background
#F9FDF7
surface
#F1FAEE
border
#CBD3C9
text
#0D140A
muted
#7E837C

Preview Lab

Preview with #51C042

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

Preview Lab → · Contrast checker → · Palette generator →

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