#51A42C#51A42C

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

Color values

HEX#51A42C
RGBrgb(81, 164, 44)
HSLhsl(102, 58%, 41%)
HSVhsv(102, 73%, 64%)
CMYKcmyk(50.6%, 0%, 73.2%, 35.7%)
CIE-LABlab(60.32, -46.58, 51.55)
CIE-LCHlch(60.32, 69.48, 132.10°)
OKLaboklab(64.24% -0.1288 0.1164)
OKLCHoklch(64.24% 0.174 137.9)
XYZxyz(17.1228, 28.4809, 6.9775)
Luminance0.2848 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A42C #7F2CA4
analogous
#8DA42C #51A42C #2CA443
triadic
#51A42C #2C51A4 #A42C51
tetradic
#51A42C #2C8DA4 #7F2CA4 #A4432C
square
#51A42C #2C8DA4 #7F2CA4 #A4432C
split-complementary
#51A42C #432CA4 #A42C8D
monochromatic
#214312 #39741F #51A42C #6CCC41 #91D971

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51A42C#FFFFFF#000000##000000
##51A42C1.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)
#A99617
Deuteranopia (green-blind)
#9E8F38
Tritanopia (blue-blind)
#4B9E8D
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #51a42c;
/* rgb */ color: rgb(81, 164, 44);
/* oklch */ color: oklch(64.2% 0.174 137.9);
Tailwind
colors: {
  custom: {
    50: '#8ac06d',
    500: '#51a42c',
    950: '#000000',
  },
}
SCSS
$custom: #51a42c;
$custom-light: #8ac06d;
$custom-dark: #000000;
JSON
{
  "hex": "#51a42c",
  "rgb": {
    "r": 81,
    "g": 164,
    "b": 44
  },
  "hsl": {
    "h": 101.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.64243,
    "c": 0.17362,
    "h": 137.9
  },
  "luminance": 0.28482
}

Semantic roles & 50–950 ramp

primary
#51A42C
secondary
#A66BC0
accent
#47E1B1
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #51A42C

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

Preview Lab → · Contrast checker → · Palette generator →

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