#51AF4E#51AF4E

#51AF4E is a light, vivid green. Relative luminance 0.330; OKLCH L 67.5% C 0.162 H 143.0°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#51AF4E
RGBrgb(81, 175, 78)
HSLhsl(118, 38%, 50%)
HSVhsv(118, 55%, 69%)
CMYKcmyk(53.7%, 0%, 55.4%, 31.4%)
CIE-LABlab(64.13, -47.50, 40.92)
CIE-LCHlch(64.13, 62.69, 139.25°)
OKLaboklab(67.47% -0.1292 0.0975)
OKLCHoklch(67.47% 0.162 143)
XYZxyz(20.0974, 32.9577, 12.5087)
Luminance0.3296 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AF4E #AC4EAF
analogous
#82AF4E #51AF4E #4EAF7B
triadic
#51AF4E #4E51AF #AF4E51
tetradic
#51AF4E #4E82AF #AC4EAF #AF7B4E
square
#51AF4E #4E82AF #AC4EAF #AF7B4E
split-complementary
#51AF4E #7B4EAF #AF4E82
monochromatic
#2A5A28 #3D853B #51AF4E #7AC378 #A3D6A2

Accessibility & contrast

On white

2.77
#51AF4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#51AF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51AF4E
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51AF4E#FFFFFF#000000##000000
##51AF4E1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A145
Deuteranopia (green-blind)
#A69855
Tritanopia (blue-blind)
#43AA99
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #51af4e;
/* rgb */ color: rgb(81, 175, 78);
/* oklch */ color: oklch(67.5% 0.162 143.0);
Tailwind
colors: {
  custom: {
    50: '#8ac882',
    500: '#51af4e',
    950: '#000000',
  },
}
SCSS
$custom: #51af4e;
$custom-light: #8ac882;
$custom-dark: #000000;
JSON
{
  "hex": "#51af4e",
  "rgb": {
    "r": 81,
    "g": 175,
    "b": 78
  },
  "hsl": {
    "h": 118.144,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.67473,
    "c": 0.16187,
    "h": 143
  },
  "luminance": 0.32959
}

Semantic roles & 50–950 ramp

primary
#51AF4E
secondary
#C196C3
accent
#5ACECB
background
#F8FCF8
surface
#F0F8EF
border
#CBD1CA
text
#0C130B
muted
#7D827C

Preview Lab

Preview with #51AF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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