#51C12D#51C12D

#51C12D is a light, highly saturated green. Relative luminance 0.401; OKLCH L 71.8% C 0.208 H 139.5°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#51C12D
RGBrgb(81, 193, 45)
HSLhsl(105, 62%, 47%)
HSVhsv(105, 77%, 76%)
CMYKcmyk(58%, 0%, 76.7%, 24.3%)
CIE-LABlab(69.52, -57.35, 60.31)
CIE-LCHlch(69.52, 83.22, 133.56°)
OKLaboklab(71.83% -0.1578 0.1348)
OKLCHoklch(71.83% 0.208 139.5)
XYZxyz(22.9360, 40.0767, 9.0090)
Luminance0.4008 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51C12D #9D2DC1
analogous
#9BC12D #51C12D #2DC153
triadic
#51C12D #2D51C1 #C12D51
tetradic
#51C12D #2D9BC1 #9D2DC1 #C1532D
square
#51C12D #2D9BC1 #9D2DC1 #C1532D
split-complementary
#51C12D #532DC1 #C12D9B
monochromatic
#275E16 #3C8F21 #51C12D #74D754 #9CE386

Accessibility & contrast

On white

2.33
#51C12D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#51C12D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51C12D
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51C12D#FFFFFF#000000##000000
##51C12D1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7AF05
Deuteranopia (green-blind)
#B9A63D
Tritanopia (blue-blind)
#44BAA5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #51c12d;
/* rgb */ color: rgb(81, 193, 45);
/* oklch */ color: oklch(71.8% 0.208 139.5);
Tailwind
colors: {
  custom: {
    50: '#8ed571',
    500: '#51c12d',
    950: '#000000',
  },
}
SCSS
$custom: #51c12d;
$custom-light: #8ed571;
$custom-dark: #000000;
JSON
{
  "hex": "#51c12d",
  "rgb": {
    "r": 81,
    "g": 193,
    "b": 45
  },
  "hsl": {
    "h": 105.405,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71833,
    "c": 0.20754,
    "h": 139.5
  },
  "luminance": 0.40079
}

Semantic roles & 50–950 ramp

primary
#51C12D
secondary
#B97ECC
accent
#43E5BE
background
#F9FDF7
surface
#F2FAED
border
#CCD3C8
text
#0E1408
muted
#7E837B

Preview Lab

Preview with #51C12D

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

Preview Lab → · Contrast checker → · Palette generator →

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