#51A827#51A827

#51A827 is a light, vivid green. Relative luminance 0.299; OKLCH L 65.3% C 0.181 H 137.7°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#51A827
RGBrgb(81, 168, 39)
HSLhsl(100, 62%, 41%)
HSVhsv(100, 77%, 66%)
CMYKcmyk(51.8%, 0%, 76.8%, 34.1%)
CIE-LABlab(61.57, -48.48, 54.57)
CIE-LCHlch(61.57, 72.99, 131.62°)
OKLaboklab(65.26% -0.1342 0.122)
OKLCHoklch(65.26% 0.181 137.7)
XYZxyz(17.7616, 29.8998, 6.7543)
Luminance0.2990 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A827 #7E27A8
analogous
#91A827 #51A827 #27A83D
triadic
#51A827 #2751A8 #A82751
tetradic
#51A827 #2791A8 #7E27A8 #A83D27
square
#51A827 #2791A8 #7E27A8 #A83D27
split-complementary
#51A827 #3D27A8 #A82791
monochromatic
#214510 #39761B #51A827 #6CD13B #91DD6C

Accessibility & contrast

On white

3.01
#51A827 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#51A827 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A827
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A827#FFFFFF#000000##000000
##51A8271.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9907
Deuteranopia (green-blind)
#A29235
Tritanopia (blue-blind)
#4BA290
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #51a827;
/* rgb */ color: rgb(81, 168, 39);
/* oklch */ color: oklch(65.3% 0.181 137.7);
Tailwind
colors: {
  custom: {
    50: '#8bc26b',
    500: '#51a827',
    950: '#000000',
  },
}
SCSS
$custom: #51a827;
$custom-light: #8bc26b;
$custom-dark: #000000;
JSON
{
  "hex": "#51a827",
  "rgb": {
    "r": 81,
    "g": 168,
    "b": 39
  },
  "hsl": {
    "h": 100.465,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.65259,
    "c": 0.1814,
    "h": 137.7
  },
  "luminance": 0.29901
}

Semantic roles & 50–950 ramp

primary
#51A827
secondary
#A567C3
accent
#42E5B0
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #51A827

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

Preview Lab → · Contrast checker → · Palette generator →

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