#51AE28#51AE28

#51AE28 is a light, vivid green. Relative luminance 0.322; OKLCH L 66.8% C 0.188 H 138.2°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#51AE28
RGBrgb(81, 174, 40)
HSLhsl(102, 63%, 42%)
HSVhsv(102, 77%, 68%)
CMYKcmyk(53.4%, 0%, 77%, 31.8%)
CIE-LABlab(63.49, -50.71, 56.09)
CIE-LCHlch(63.49, 75.62, 132.12°)
OKLaboklab(66.84% -0.1402 0.1253)
OKLCHoklch(66.84% 0.188 138.2)
XYZxyz(18.9117, 32.1732, 7.2205)
Luminance0.3217 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AE28 #8528AE
analogous
#94AE28 #51AE28 #28AE42
triadic
#51AE28 #2851AE #AE2851
tetradic
#51AE28 #2894AE #8528AE #AE4228
square
#51AE28 #2894AE #8528AE #AE4228
split-complementary
#51AE28 #4228AE #AE2894
monochromatic
#234A11 #3A7C1D #51AE28 #6DD340 #93DF72

Accessibility & contrast

On white

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

On black

7.43
#51AE28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51AE28
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51AE28#FFFFFF#000000##000000
##51AE281.002.827.437.43
#FFFFFF2.821.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51ae28;
/* rgb */ color: rgb(81, 174, 40);
/* oklch */ color: oklch(66.8% 0.188 138.2);
Tailwind
colors: {
  custom: {
    50: '#8bc76c',
    500: '#51ae28',
    950: '#000000',
  },
}
SCSS
$custom: #51ae28;
$custom-light: #8bc76c;
$custom-dark: #000000;
JSON
{
  "hex": "#51ae28",
  "rgb": {
    "r": 81,
    "g": 174,
    "b": 40
  },
  "hsl": {
    "h": 101.642,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.66841,
    "c": 0.18804,
    "h": 138.2
  },
  "luminance": 0.32175
}

Semantic roles & 50–950 ramp

primary
#51AE28
secondary
#AA6CC6
accent
#42E6B4
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #51AE28

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

Preview Lab → · Contrast checker → · Palette generator →

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