#51AB2B#51AB2B

#51AB2B is a light, vivid green. Relative luminance 0.310; OKLCH L 66.1% C 0.183 H 138.3°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#51AB2B
RGBrgb(81, 171, 43)
HSLhsl(102, 60%, 42%)
HSVhsv(102, 75%, 67%)
CMYKcmyk(52.6%, 0%, 74.9%, 32.9%)
CIE-LABlab(62.55, -49.37, 54.15)
CIE-LCHlch(62.55, 73.28, 132.36°)
OKLaboklab(66.07% -0.1364 0.1217)
OKLCHoklch(66.07% 0.183 138.3)
XYZxyz(18.3916, 31.0482, 7.3088)
Luminance0.3105 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AB2B #852BAB
analogous
#91AB2B #51AB2B #2BAB45
triadic
#51AB2B #2B51AB #AB2B51
tetradic
#51AB2B #2B91AB #852BAB #AB452B
square
#51AB2B #2B91AB #852BAB #AB452B
split-complementary
#51AB2B #452BAB #AB2B91
monochromatic
#234912 #3A7A1F #51AB2B #6DD043 #93DC74

Accessibility & contrast

On white

2.91
#51AB2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#51AB2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51AB2B
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51AB2B#FFFFFF#000000##000000
##51AB2B1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C11
Deuteranopia (green-blind)
#A59438
Tritanopia (blue-blind)
#4AA592
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #51ab2b;
/* rgb */ color: rgb(81, 171, 43);
/* oklch */ color: oklch(66.1% 0.183 138.3);
Tailwind
colors: {
  custom: {
    50: '#8bc56d',
    500: '#51ab2b',
    950: '#000000',
  },
}
SCSS
$custom: #51ab2b;
$custom-light: #8bc56d;
$custom-dark: #000000;
JSON
{
  "hex": "#51ab2b",
  "rgb": {
    "r": 81,
    "g": 171,
    "b": 43
  },
  "hsl": {
    "h": 102.188,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.66075,
    "c": 0.18279,
    "h": 138.3
  },
  "luminance": 0.3105
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #51AB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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