#51AE2A#51AE2A

#51AE2A is a light, vivid green. Relative luminance 0.322; OKLCH L 66.9% C 0.187 H 138.4°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#51AE2A
RGBrgb(81, 174, 42)
HSLhsl(102, 61%, 42%)
HSVhsv(102, 76%, 68%)
CMYKcmyk(53.4%, 0%, 75.9%, 31.8%)
CIE-LABlab(63.50, -50.58, 55.43)
CIE-LCHlch(63.50, 75.04, 132.38°)
OKLaboklab(66.86% -0.1397 0.1242)
OKLCHoklch(66.86% 0.187 138.4)
XYZxyz(18.9466, 32.1871, 7.4044)
Luminance0.3219 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AE2A #872AAE
analogous
#93AE2A #51AE2A #2AAE45
triadic
#51AE2A #2A51AE #AE2A51
tetradic
#51AE2A #2A93AE #872AAE #AE452A
square
#51AE2A #2A93AE #872AAE #AE452A
split-complementary
#51AE2A #452AAE #AE2A93
monochromatic
#234B12 #3A7D1E #51AE2A #6DD243 #94DE75

Accessibility & contrast

On white

2.82
#51AE2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#51AE2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51AE2A
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51AE2A#FFFFFF#000000##000000
##51AE2A1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F0C
Deuteranopia (green-blind)
#A89738
Tritanopia (blue-blind)
#49A895
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #51ae2a;
/* rgb */ color: rgb(81, 174, 42);
/* oklch */ color: oklch(66.9% 0.187 138.4);
Tailwind
colors: {
  custom: {
    50: '#8bc76d',
    500: '#51ae2a',
    950: '#000000',
  },
}
SCSS
$custom: #51ae2a;
$custom-light: #8bc76d;
$custom-dark: #000000;
JSON
{
  "hex": "#51ae2a",
  "rgb": {
    "r": 81,
    "g": 174,
    "b": 42
  },
  "hsl": {
    "h": 102.273,
    "s": 61.111,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66855,
    "c": 0.18696,
    "h": 138.4
  },
  "luminance": 0.32189
}

Semantic roles & 50–950 ramp

primary
#51AE2A
secondary
#AC6FC5
accent
#44E4B5
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #51AE2A

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

Preview Lab → · Contrast checker → · Palette generator →

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