#51A42D#51A42D

#51A42D is a light, vivid green. Relative luminance 0.285; OKLCH L 64.3% C 0.173 H 138.0°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#51A42D
RGBrgb(81, 164, 45)
HSLhsl(102, 57%, 41%)
HSVhsv(102, 73%, 64%)
CMYKcmyk(50.6%, 0%, 72.6%, 35.7%)
CIE-LABlab(60.33, -46.50, 51.18)
CIE-LCHlch(60.33, 69.15, 132.26°)
OKLaboklab(64.25% -0.1285 0.1158)
OKLCHoklch(64.25% 0.173 138)
XYZxyz(17.1419, 28.4885, 7.0777)
Luminance0.2849 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A42D #802DA4
analogous
#8CA42D #51A42D #2DA444
triadic
#51A42D #2D51A4 #A42D51
tetradic
#51A42D #2D8CA4 #802DA4 #A4442D
square
#51A42D #2D8CA4 #802DA4 #A4442D
split-complementary
#51A42D #442DA4 #A42D8C
monochromatic
#224413 #397420 #51A42D #6CCB43 #92D973

Accessibility & contrast

On white

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

On black

6.70
#51A42D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A42D
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A42D#FFFFFF#000000##000000
##51A42D1.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51a42d;
/* rgb */ color: rgb(81, 164, 45);
/* oklch */ color: oklch(64.3% 0.173 138.0);
Tailwind
colors: {
  custom: {
    50: '#8ac06d',
    500: '#51a42d',
    950: '#000000',
  },
}
SCSS
$custom: #51a42d;
$custom-light: #8ac06d;
$custom-dark: #000000;
JSON
{
  "hex": "#51a42d",
  "rgb": {
    "r": 81,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 101.849,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.64251,
    "c": 0.173,
    "h": 138
  },
  "luminance": 0.2849
}

Semantic roles & 50–950 ramp

primary
#51A42D
secondary
#A76DC0
accent
#48E0B2
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #51A42D

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

Preview Lab → · Contrast checker → · Palette generator →

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