#51B331#51B331

#51B331 is a light, vivid green. Relative luminance 0.342; OKLCH L 68.2% C 0.189 H 139.2°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#51B331
RGBrgb(81, 179, 49)
HSLhsl(105, 57%, 45%)
HSVhsv(105, 73%, 70%)
CMYKcmyk(54.7%, 0%, 72.6%, 29.8%)
CIE-LABlab(65.13, -51.97, 54.57)
CIE-LCHlch(65.13, 75.35, 133.60°)
OKLaboklab(68.21% -0.143 0.1234)
OKLCHoklch(68.21% 0.189 139.2)
XYZxyz(20.0670, 34.2096, 8.4508)
Luminance0.3421 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51B331 #9331B3
analogous
#92B331 #51B331 #31B352
triadic
#51B331 #3151B3 #B33151
tetradic
#51B331 #3192B3 #9331B3 #B35231
square
#51B331 #3192B3 #9331B3 #B35231
split-complementary
#51B331 #5231B3 #B33192
monochromatic
#265317 #3B8324 #51B331 #71D052 #98DD82

Accessibility & contrast

On white

2.68
#51B331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#51B331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51B331
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51B331#FFFFFF#000000##000000
##51B3311.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31A
Deuteranopia (green-blind)
#AC9B3E
Tritanopia (blue-blind)
#47AD9A
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #51b331;
/* rgb */ color: rgb(81, 179, 49);
/* oklch */ color: oklch(68.2% 0.189 139.2);
Tailwind
colors: {
  custom: {
    50: '#8cca71',
    500: '#51b331',
    950: '#000000',
  },
}
SCSS
$custom: #51b331;
$custom-light: #8cca71;
$custom-dark: #000000;
JSON
{
  "hex": "#51b331",
  "rgb": {
    "r": 81,
    "g": 179,
    "b": 49
  },
  "hsl": {
    "h": 105.231,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68213,
    "c": 0.1889,
    "h": 139.2
  },
  "luminance": 0.34211
}

Semantic roles & 50–950 ramp

primary
#51B331
secondary
#B37AC6
accent
#48E0BB
background
#F9FCF7
surface
#F1F8ED
border
#CBD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #51B331

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

Preview Lab → · Contrast checker → · Palette generator →

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