#51B42E#51B42E

#51B42E is a light, vivid green. Relative luminance 0.346; OKLCH L 68.5% C 0.192 H 139.0°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#51B42E
RGBrgb(81, 180, 46)
HSLhsl(104, 59%, 44%)
HSVhsv(104, 74%, 71%)
CMYKcmyk(55%, 0%, 74.4%, 29.4%)
CIE-LABlab(65.43, -52.56, 55.95)
CIE-LCHlch(65.43, 76.76, 133.21°)
OKLaboklab(68.45% -0.1448 0.1259)
OKLCHoklch(68.45% 0.192 139)
XYZxyz(20.2069, 34.5875, 8.1955)
Luminance0.3459 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51B42E #912EB4
analogous
#94B42E #51B42E #2EB44E
triadic
#51B42E #2E51B4 #B42E51
tetradic
#51B42E #2E94B4 #912EB4 #B44E2E
square
#51B42E #2E94B4 #912EB4 #B44E2E
split-complementary
#51B42E #4E2EB4 #B42E94
monochromatic
#255315 #3B8322 #51B42E #70D24E #97DE7E

Accessibility & contrast

On white

2.65
#51B42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#51B42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51B42E
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51B42E#FFFFFF#000000##000000
##51B42E1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A413
Deuteranopia (green-blind)
#AD9C3C
Tritanopia (blue-blind)
#47AE9A
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #51b42e;
/* rgb */ color: rgb(81, 180, 46);
/* oklch */ color: oklch(68.5% 0.192 139.0);
Tailwind
colors: {
  custom: {
    50: '#8ccb70',
    500: '#51b42e',
    950: '#000000',
  },
}
SCSS
$custom: #51b42e;
$custom-light: #8ccb70;
$custom-dark: #000000;
JSON
{
  "hex": "#51b42e",
  "rgb": {
    "r": 81,
    "g": 180,
    "b": 46
  },
  "hsl": {
    "h": 104.328,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.68453,
    "c": 0.19187,
    "h": 139
  },
  "luminance": 0.34589
}

Semantic roles & 50–950 ramp

primary
#51B42E
secondary
#B277C7
accent
#45E2B9
background
#F9FCF7
surface
#F1F9ED
border
#CBD2C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #51B42E

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

Preview Lab → · Contrast checker → · Palette generator →

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