#51A42B#51A42B

#51A42B is a light, vivid green. Relative luminance 0.285; OKLCH L 64.2% C 0.174 H 137.8°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#51A42B
RGBrgb(81, 164, 43)
HSLhsl(101, 58%, 41%)
HSVhsv(101, 74%, 64%)
CMYKcmyk(50.6%, 0%, 73.8%, 35.7%)
CIE-LABlab(60.31, -46.65, 51.92)
CIE-LCHlch(60.31, 69.80, 131.94°)
OKLaboklab(64.24% -0.1291 0.117)
OKLCHoklch(64.24% 0.174 137.8)
XYZxyz(17.1043, 28.4734, 6.8797)
Luminance0.2848 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A42B #7E2BA4
analogous
#8DA42B #51A42B #2BA441
triadic
#51A42B #2B51A4 #A42B51
tetradic
#51A42B #2B8DA4 #7E2BA4 #A4412B
square
#51A42B #2B8DA4 #7E2BA4 #A4412B
split-complementary
#51A42B #412BA4 #A42B8D
monochromatic
#214312 #39741E #51A42B #6CCD3F #91D970

Accessibility & contrast

On white

3.14
#51A42B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#51A42B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A42B
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A42B#FFFFFF#000000##000000
##51A42B1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99614
Deuteranopia (green-blind)
#9E8F37
Tritanopia (blue-blind)
#4B9E8D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #51a42b;
/* rgb */ color: rgb(81, 164, 43);
/* oklch */ color: oklch(64.2% 0.174 137.8);
Tailwind
colors: {
  custom: {
    50: '#8ac06c',
    500: '#51a42b',
    950: '#000000',
  },
}
SCSS
$custom: #51a42b;
$custom-light: #8ac06c;
$custom-dark: #000000;
JSON
{
  "hex": "#51a42b",
  "rgb": {
    "r": 81,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 101.157,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.64235,
    "c": 0.17423,
    "h": 137.8
  },
  "luminance": 0.28475
}

Semantic roles & 50–950 ramp

primary
#51A42B
secondary
#A56AC1
accent
#46E2B1
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #51A42B

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

Preview Lab → · Contrast checker → · Palette generator →

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