#51AC2C#51AC2C

#51AC2C is a light, vivid green. Relative luminance 0.314; OKLCH L 66.3% C 0.183 H 138.4°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#51AC2C
RGBrgb(81, 172, 44)
HSLhsl(103, 59%, 42%)
HSVhsv(103, 74%, 67%)
CMYKcmyk(52.9%, 0%, 74.4%, 32.5%)
CIE-LABlab(62.87, -49.68, 54.11)
CIE-LCHlch(62.87, 73.46, 132.56°)
OKLaboklab(66.34% -0.1372 0.1218)
OKLCHoklch(66.34% 0.183 138.4)
XYZxyz(18.5998, 31.4348, 7.4698)
Luminance0.3144 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AC2C #872CAC
analogous
#91AC2C #51AC2C #2CAC47
triadic
#51AC2C #2C51AC #AC2C51
tetradic
#51AC2C #2C91AC #872CAC #AC472C
square
#51AC2C #2C91AC #872CAC #AC472C
split-complementary
#51AC2C #472CAC #AC2C91
monochromatic
#234B13 #3A7B20 #51AC2C #6ED046 #94DC76

Accessibility & contrast

On white

2.88
#51AC2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#51AC2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51AC2C
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51AC2C#FFFFFF#000000##000000
##51AC2C1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D13
Deuteranopia (green-blind)
#A69539
Tritanopia (blue-blind)
#49A693
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #51ac2c;
/* rgb */ color: rgb(81, 172, 44);
/* oklch */ color: oklch(66.3% 0.183 138.4);
Tailwind
colors: {
  custom: {
    50: '#8bc56e',
    500: '#51ac2c',
    950: '#000000',
  },
}
SCSS
$custom: #51ac2c;
$custom-light: #8bc56e;
$custom-dark: #000000;
JSON
{
  "hex": "#51ac2c",
  "rgb": {
    "r": 81,
    "g": 172,
    "b": 44
  },
  "hsl": {
    "h": 102.656,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66344,
    "c": 0.18342,
    "h": 138.4
  },
  "luminance": 0.31436
}

Semantic roles & 50–950 ramp

primary
#51AC2C
secondary
#AC70C4
accent
#45E2B5
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #51AC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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