#51B522#51B522

#51B522 is a light, vivid green. Relative luminance 0.349; OKLCH L 68.6% C 0.199 H 138.2°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#51B522
RGBrgb(81, 181, 34)
HSLhsl(101, 68%, 42%)
HSVhsv(101, 81%, 71%)
CMYKcmyk(55.2%, 0%, 81.2%, 29%)
CIE-LABlab(65.68, -53.66, 60.00)
CIE-LCHlch(65.68, 80.49, 131.81°)
OKLaboklab(68.64% -0.1484 0.1326)
OKLCHoklch(68.64% 0.199 138.2)
XYZxyz(20.2052, 34.9109, 7.1868)
Luminance0.3491 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51B522 #8622B5
analogous
#9BB522 #51B522 #22B53C
triadic
#51B522 #2251B5 #B52251
tetradic
#51B522 #229BB5 #8622B5 #B53C22
square
#51B522 #229BB5 #8622B5 #B53C22
split-complementary
#51B522 #3C22B5 #B5229B
monochromatic
#234E0F #3A8118 #51B522 #6DDA3A #93E46E

Accessibility & contrast

On white

2.63
#51B522 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#51B522 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51B522
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51B522#FFFFFF#000000##000000
##51B5221.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#AE9C34
Tritanopia (blue-blind)
#48AF9A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #51b522;
/* rgb */ color: rgb(81, 181, 34);
/* oklch */ color: oklch(68.6% 0.199 138.2);
Tailwind
colors: {
  custom: {
    50: '#8dcc6b',
    500: '#51b522',
    950: '#000000',
  },
}
SCSS
$custom: #51b522;
$custom-light: #8dcc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#51b522",
  "rgb": {
    "r": 81,
    "g": 181,
    "b": 34
  },
  "hsl": {
    "h": 100.816,
    "s": 68.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68641,
    "c": 0.19906,
    "h": 138.2
  },
  "luminance": 0.34913
}

Semantic roles & 50–950 ramp

primary
#51B522
secondary
#AB69CA
accent
#3DEBB3
background
#F9FCF6
surface
#F1F9EC
border
#CBD2C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #51B522

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

Preview Lab → · Contrast checker → · Palette generator →

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