#51A545#51A545

#51A545 is a light, vivid green. Relative luminance 0.291; OKLCH L 64.8% C 0.156 H 141.2°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#51A545
RGBrgb(81, 165, 69)
HSLhsl(113, 41%, 46%)
HSVhsv(113, 58%, 65%)
CMYKcmyk(50.9%, 0%, 58.2%, 35.3%)
CIE-LABlab(60.86, -44.57, 41.39)
CIE-LCHlch(60.86, 60.83, 137.12°)
OKLaboklab(64.76% -0.1218 0.0977)
OKLCHoklch(64.76% 0.156 141.2)
XYZxyz(17.9218, 29.0879, 10.2992)
Luminance0.2909 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A545 #9945A5
analogous
#81A545 #51A545 #45A569
triadic
#51A545 #4551A5 #A54551
tetradic
#51A545 #4581A5 #9945A5 #A56945
square
#51A545 #4581A5 #9945A5 #A56945
split-complementary
#51A545 #6945A5 #A54581
monochromatic
#274F21 #3C7A33 #51A545 #73C068 #9BD293

Accessibility & contrast

On white

3.08
#51A545 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#51A545 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A545
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A545#FFFFFF#000000##000000
##51A5451.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9973B
Deuteranopia (green-blind)
#9E904C
Tritanopia (blue-blind)
#47A090
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #51a545;
/* rgb */ color: rgb(81, 165, 69);
/* oklch */ color: oklch(64.8% 0.156 141.2);
Tailwind
colors: {
  custom: {
    50: '#89c07c',
    500: '#51a545',
    950: '#000000',
  },
}
SCSS
$custom: #51a545;
$custom-light: #89c07c;
$custom-dark: #000000;
JSON
{
  "hex": "#51a545",
  "rgb": {
    "r": 81,
    "g": 165,
    "b": 69
  },
  "hsl": {
    "h": 112.5,
    "s": 41.026,
    "l": 45.882
  },
  "oklch": {
    "l": 0.64756,
    "c": 0.15614,
    "h": 141.2
  },
  "luminance": 0.29089
}

Semantic roles & 50–950 ramp

primary
#51A545
secondary
#B788BD
accent
#57D1C2
background
#F8FBF7
surface
#F0F7EE
border
#CBD0C9
text
#0C120A
muted
#7D817C

Preview Lab

Preview with #51A545

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

Preview Lab → · Contrast checker → · Palette generator →

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