#51B420#51B420

#51B420 is a light, vivid green. Relative luminance 0.345; OKLCH L 68.4% C 0.199 H 138.0°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#51B420
RGBrgb(81, 180, 32)
HSLhsl(100, 70%, 42%)
HSVhsv(100, 82%, 71%)
CMYKcmyk(55%, 0%, 82.2%, 29.4%)
CIE-LABlab(65.35, -53.39, 60.25)
CIE-LCHlch(65.35, 80.50, 131.55°)
OKLaboklab(68.37% -0.1478 0.1329)
OKLCHoklch(68.37% 0.199 138)
XYZxyz(19.9746, 34.4945, 6.9717)
Luminance0.3450 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51B420 #8320B4
analogous
#9BB420 #51B420 #20B439
triadic
#51B420 #2051B4 #B42051
tetradic
#51B420 #209BB4 #8320B4 #B43920
square
#51B420 #209BB4 #8320B4 #B43920
split-complementary
#51B420 #3920B4 #B4209B
monochromatic
#224C0E #3A8017 #51B420 #6DDB36 #92E46A

Accessibility & contrast

On white

2.66
#51B420 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#51B420 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51B420
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51B420#FFFFFF#000000##000000
##51B4201.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#AD9C33
Tritanopia (blue-blind)
#48AD99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #51b420;
/* rgb */ color: rgb(81, 180, 32);
/* oklch */ color: oklch(68.4% 0.199 138.0);
Tailwind
colors: {
  custom: {
    50: '#8dcb6a',
    500: '#51b420',
    950: '#000000',
  },
}
SCSS
$custom: #51b420;
$custom-light: #8dcb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#51b420",
  "rgb": {
    "r": 81,
    "g": 180,
    "b": 32
  },
  "hsl": {
    "h": 100.135,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68369,
    "c": 0.19877,
    "h": 138
  },
  "luminance": 0.34496
}

Semantic roles & 50–950 ramp

primary
#51B420
secondary
#A966CA
accent
#3BEDB2
background
#F9FCF6
surface
#F1F9EC
border
#CBD2C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #51B420

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

Preview Lab → · Contrast checker → · Palette generator →

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