#51B421#51B421

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

Color values

HEX#51B421
RGBrgb(81, 180, 33)
HSLhsl(100, 69%, 42%)
HSVhsv(100, 82%, 71%)
CMYKcmyk(55%, 0%, 81.7%, 29.4%)
CIE-LABlab(65.36, -53.34, 59.98)
CIE-LCHlch(65.36, 80.27, 131.65°)
OKLaboklab(68.37% -0.1476 0.1325)
OKLCHoklch(68.37% 0.198 138.1)
XYZxyz(19.9884, 34.5000, 7.0444)
Luminance0.3450 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51B421 #8421B4
analogous
#9BB421 #51B421 #21B43B
triadic
#51B421 #2151B4 #B42151
tetradic
#51B421 #219BB4 #8421B4 #B43B21
square
#51B421 #219BB4 #8421B4 #B43B21
split-complementary
#51B421 #3B21B4 #B4219B
monochromatic
#224D0E #3A8018 #51B421 #6DDA38 #93E46B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51B421#FFFFFF#000000##000000
##51B4211.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)
#48AE99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #51b421;
/* rgb */ color: rgb(81, 180, 33);
/* oklch */ color: oklch(68.4% 0.198 138.1);
Tailwind
colors: {
  custom: {
    50: '#8dcb6a',
    500: '#51b421',
    950: '#000000',
  },
}
SCSS
$custom: #51b421;
$custom-light: #8dcb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#51b421",
  "rgb": {
    "r": 81,
    "g": 180,
    "b": 33
  },
  "hsl": {
    "h": 100.408,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68374,
    "c": 0.19835,
    "h": 138.1
  },
  "luminance": 0.34502
}

Semantic roles & 50–950 ramp

primary
#51B421
secondary
#AA67CA
accent
#3CECB2
background
#F9FCF6
surface
#F1F9EC
border
#CBD2C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #51B421

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

Preview Lab → · Contrast checker → · Palette generator →

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