#51AB2F#51AB2F

#51AB2F is a light, vivid green. Relative luminance 0.311; OKLCH L 66.1% C 0.180 H 138.6°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#51AB2F
RGBrgb(81, 171, 47)
HSLhsl(104, 57%, 43%)
HSVhsv(104, 73%, 67%)
CMYKcmyk(52.6%, 0%, 72.5%, 32.9%)
CIE-LABlab(62.57, -49.08, 52.71)
CIE-LCHlch(62.57, 72.03, 132.95°)
OKLaboklab(66.1% -0.1354 0.1193)
OKLCHoklch(66.1% 0.18 138.6)
XYZxyz(18.4687, 31.0790, 7.7144)
Luminance0.3108 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AB2F #892FAB
analogous
#8FAB2F #51AB2F #2FAB4B
triadic
#51AB2F #2F51AB #AB2F51
tetradic
#51AB2F #2F8FAB #892FAB #AB4B2F
square
#51AB2F #2F8FAB #892FAB #AB4B2F
split-complementary
#51AB2F #4B2FAB #AB2F8F
monochromatic
#244B15 #3A7B22 #51AB2F #6ECD4A #94DA7A

Accessibility & contrast

On white

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

On black

7.22
#51AB2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51AB2F
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51AB2F#FFFFFF#000000##000000
##51AB2F1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C19
Deuteranopia (green-blind)
#A5943B
Tritanopia (blue-blind)
#49A593
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #51ab2f;
/* rgb */ color: rgb(81, 171, 47);
/* oklch */ color: oklch(66.1% 0.180 138.6);
Tailwind
colors: {
  custom: {
    50: '#8bc56f',
    500: '#51ab2f',
    950: '#000000',
  },
}
SCSS
$custom: #51ab2f;
$custom-light: #8bc56f;
$custom-dark: #000000;
JSON
{
  "hex": "#51ab2f",
  "rgb": {
    "r": 81,
    "g": 171,
    "b": 47
  },
  "hsl": {
    "h": 103.548,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66104,
    "c": 0.1804,
    "h": 138.6
  },
  "luminance": 0.3108
}

Semantic roles & 50–950 ramp

primary
#51AB2F
secondary
#AD73C3
accent
#48E0B6
background
#F9FCF7
surface
#F1F8ED
border
#CBD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #51AB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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