#51A173#51A173

#51A173 is a light, moderate green. Relative luminance 0.285; OKLCH L 64.5% C 0.106 H 156.5°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#51A173
RGBrgb(81, 161, 115)
HSLhsl(146, 33%, 47%)
HSVhsv(146, 50%, 63%)
CMYKcmyk(49.7%, 0%, 28.6%, 36.9%)
CIE-LABlab(60.32, -35.41, 16.58)
CIE-LCHlch(60.32, 39.10, 154.91°)
OKLaboklab(64.55% -0.097 0.0422)
OKLCHoklch(64.55% 0.106 156.5)
XYZxyz(19.2313, 28.4753, 20.6992)
Luminance0.2848 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A173 #A1517F
analogous
#57A151 #51A173 #51A19B
triadic
#51A173 #7351A1 #A17351
tetradic
#51A173 #5157A1 #A1517F #A19B51
square
#51A173 #5157A1 #A1517F #A19B51
split-complementary
#51A173 #9B51A1 #A15157
monochromatic
#285039 #3D7856 #51A173 #75BA92 #9ECEB3

Accessibility & contrast

On white

3.14
#51A173 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#51A173 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A173
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A173#FFFFFF#000000##000000
##51A1731.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09670
Deuteranopia (green-blind)
#948E76
Tritanopia (blue-blind)
#3CA095
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #51a173;
/* rgb */ color: rgb(81, 161, 115);
/* oklch */ color: oklch(64.5% 0.106 156.5);
Tailwind
colors: {
  custom: {
    50: '#87bd9b',
    500: '#51a173',
    950: '#000000',
  },
}
SCSS
$custom: #51a173;
$custom-light: #87bd9b;
$custom-dark: #000000;
JSON
{
  "hex": "#51a173",
  "rgb": {
    "r": 81,
    "g": 161,
    "b": 115
  },
  "hsl": {
    "h": 145.5,
    "s": 33.058,
    "l": 47.451
  },
  "oklch": {
    "l": 0.64546,
    "c": 0.10573,
    "h": 156.5
  },
  "luminance": 0.28477
}

Semantic roles & 50–950 ramp

primary
#51A173
secondary
#BB93AA
accent
#5F9CC9
background
#F8FBF9
surface
#F0F6F2
border
#CBD0CC
text
#0C120E
muted
#7D817E

Preview Lab

Preview with #51A173

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

Preview Lab → · Contrast checker → · Palette generator →

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