#51AF28#51AF28

#51AF28 is a light, vivid green. Relative luminance 0.326; OKLCH L 67.1% C 0.189 H 138.3°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#51AF28
RGBrgb(81, 175, 40)
HSLhsl(102, 63%, 42%)
HSVhsv(102, 77%, 69%)
CMYKcmyk(53.7%, 0%, 77.1%, 31.4%)
CIE-LABlab(63.80, -51.09, 56.40)
CIE-LCHlch(63.80, 76.10, 132.17°)
OKLaboklab(67.1% -0.1412 0.126)
OKLCHoklch(67.1% 0.189 138.3)
XYZxyz(19.1056, 32.5610, 7.2852)
Luminance0.3256 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AF28 #8628AF
analogous
#95AF28 #51AF28 #28AF43
triadic
#51AF28 #2851AF #AF2851
tetradic
#51AF28 #2895AF #8628AF #AF4328
square
#51AF28 #2895AF #8628AF #AF4328
split-complementary
#51AF28 #4328AF #AF2895
monochromatic
#234B11 #3A7D1D #51AF28 #6DD441 #93DF73

Accessibility & contrast

On white

2.80
#51AF28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#51AF28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51AF28
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51AF28#FFFFFF#000000##000000
##51AF281.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B59F05
Deuteranopia (green-blind)
#A99837
Tritanopia (blue-blind)
#49A996
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #51af28;
/* rgb */ color: rgb(81, 175, 40);
/* oklch */ color: oklch(67.1% 0.189 138.3);
Tailwind
colors: {
  custom: {
    50: '#8cc86c',
    500: '#51af28',
    950: '#000000',
  },
}
SCSS
$custom: #51af28;
$custom-light: #8cc86c;
$custom-dark: #000000;
JSON
{
  "hex": "#51af28",
  "rgb": {
    "r": 81,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 101.778,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.67104,
    "c": 0.18922,
    "h": 138.3
  },
  "luminance": 0.32562
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #51AF28

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

Preview Lab → · Contrast checker → · Palette generator →

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