#51A42E#51A42E

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

Color values

HEX#51A42E
RGBrgb(81, 164, 46)
HSLhsl(102, 56%, 41%)
HSVhsv(102, 72%, 64%)
CMYKcmyk(50.6%, 0%, 72%, 35.7%)
CIE-LABlab(60.33, -46.43, 50.81)
CIE-LCHlch(60.33, 68.83, 132.42°)
OKLaboklab(64.26% -0.1282 0.1151)
OKLCHoklch(64.26% 0.172 138.1)
XYZxyz(17.1613, 28.4963, 7.1803)
Luminance0.2850 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A42E #812EA4
analogous
#8CA42E #51A42E #2EA446
triadic
#51A42E #2E51A4 #A42E51
tetradic
#51A42E #2E8CA4 #812EA4 #A4462E
square
#51A42E #2E8CA4 #812EA4 #A4462E
split-complementary
#51A42E #462EA4 #A42E8C
monochromatic
#224413 #397421 #51A42E #6CCB45 #92D874

Accessibility & contrast

On white

3.13
#51A42E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##51A42E#FFFFFF#000000##000000
##51A42E1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51a42e;
/* rgb */ color: rgb(81, 164, 46);
/* oklch */ color: oklch(64.3% 0.172 138.1);
Tailwind
colors: {
  custom: {
    50: '#8ac06e',
    500: '#51a42e',
    950: '#000000',
  },
}
SCSS
$custom: #51a42e;
$custom-light: #8ac06e;
$custom-dark: #000000;
JSON
{
  "hex": "#51a42e",
  "rgb": {
    "r": 81,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 102.203,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64259,
    "c": 0.17235,
    "h": 138.1
  },
  "luminance": 0.28498
}

Semantic roles & 50–950 ramp

primary
#51A42E
secondary
#A86EC0
accent
#48DFB3
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0C1208
muted
#7D817B

Preview Lab

Preview with #51A42E

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

Preview Lab → · Contrast checker → · Palette generator →

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