#51B221#51B221

#51B221 is a light, vivid green. Relative luminance 0.337; OKLCH L 67.8% C 0.196 H 138.0°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#51B221
RGBrgb(81, 178, 33)
HSLhsl(100, 69%, 41%)
HSVhsv(100, 81%, 70%)
CMYKcmyk(54.5%, 0%, 81.5%, 30.2%)
CIE-LABlab(64.72, -52.60, 59.40)
CIE-LCHlch(64.72, 79.34, 131.53°)
OKLaboklab(67.85% -0.1457 0.1312)
OKLCHoklch(67.85% 0.196 138)
XYZxyz(19.5876, 33.6984, 6.9108)
Luminance0.3370 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51B221 #8221B2
analogous
#9AB221 #51B221 #21B23A
triadic
#51B221 #2151B2 #B22151
tetradic
#51B221 #219AB2 #8221B2 #B23A21
square
#51B221 #219AB2 #8221B2 #B23A21
split-complementary
#51B221 #3A21B2 #B2219A
monochromatic
#224B0E #3A7E17 #51B221 #6CDA36 #92E36A

Accessibility & contrast

On white

2.71
#51B221 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#51B221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51B221
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51B221#FFFFFF#000000##000000
##51B2211.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#AC9A33
Tritanopia (blue-blind)
#49AC98
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #51b221;
/* rgb */ color: rgb(81, 178, 33);
/* oklch */ color: oklch(67.8% 0.196 138.0);
Tailwind
colors: {
  custom: {
    50: '#8cca6a',
    500: '#51b221',
    950: '#000000',
  },
}
SCSS
$custom: #51b221;
$custom-light: #8cca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#51b221",
  "rgb": {
    "r": 81,
    "g": 178,
    "b": 33
  },
  "hsl": {
    "h": 100.138,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6785,
    "c": 0.19606,
    "h": 138
  },
  "luminance": 0.337
}

Semantic roles & 50–950 ramp

primary
#51B221
secondary
#A866C9
accent
#3CECB2
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #51B221

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

Preview Lab → · Contrast checker → · Palette generator →

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