#51AC2B#51AC2B

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

Color values

HEX#51AC2B
RGBrgb(81, 172, 43)
HSLhsl(102, 60%, 42%)
HSVhsv(102, 75%, 67%)
CMYKcmyk(52.9%, 0%, 75%, 32.5%)
CIE-LABlab(62.87, -49.75, 54.46)
CIE-LCHlch(62.87, 73.77, 132.41°)
OKLaboklab(66.34% -0.1374 0.1224)
OKLCHoklch(66.34% 0.184 138.3)
XYZxyz(18.5812, 31.4274, 7.3720)
Luminance0.3143 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AC2B #862BAC
analogous
#91AC2B #51AC2B #2BAC46
triadic
#51AC2B #2B51AC #AC2B51
tetradic
#51AC2B #2B91AC #862BAC #AC462B
square
#51AC2B #2B91AC #862BAC #AC462B
split-complementary
#51AC2B #462BAC #AC2B91
monochromatic
#234A13 #3A7B1F #51AC2B #6DD044 #93DC75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51AC2B#FFFFFF#000000##000000
##51AC2B1.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)
#B19D10
Deuteranopia (green-blind)
#A69538
Tritanopia (blue-blind)
#49A693
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #51ac2b;
/* rgb */ color: rgb(81, 172, 43);
/* oklch */ color: oklch(66.3% 0.184 138.3);
Tailwind
colors: {
  custom: {
    50: '#8bc56d',
    500: '#51ac2b',
    950: '#000000',
  },
}
SCSS
$custom: #51ac2b;
$custom-light: #8bc56d;
$custom-dark: #000000;
JSON
{
  "hex": "#51ac2b",
  "rgb": {
    "r": 81,
    "g": 172,
    "b": 43
  },
  "hsl": {
    "h": 102.326,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.66337,
    "c": 0.184,
    "h": 138.3
  },
  "luminance": 0.31429
}

Semantic roles & 50–950 ramp

primary
#51AC2B
secondary
#AB6FC4
accent
#45E3B4
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #51AC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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