#51BA28#51BA28

#51BA28 is a light, highly saturated green. Relative luminance 0.370; OKLCH L 70.0% C 0.202 H 138.8°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#51BA28
RGBrgb(81, 186, 40)
HSLhsl(103, 65%, 44%)
HSVhsv(103, 78%, 73%)
CMYKcmyk(56.5%, 0%, 78.5%, 27.1%)
CIE-LABlab(67.29, -55.15, 59.74)
CIE-LCHlch(67.29, 81.30, 132.71°)
OKLaboklab(69.98% -0.1521 0.133)
OKLCHoklch(69.98% 0.202 138.8)
XYZxyz(21.3344, 37.0185, 8.0281)
Luminance0.3702 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51BA28 #9128BA
analogous
#9ABA28 #51BA28 #28BA48
triadic
#51BA28 #2851BA #BA2851
tetradic
#51BA28 #289ABA #9128BA #BA4828
square
#51BA28 #289ABA #9128BA #BA4828
split-complementary
#51BA28 #4828BA #BA289A
monochromatic
#255512 #3B881D #51BA28 #70D848 #97E27A

Accessibility & contrast

On white

2.50
#51BA28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#51BA28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51BA28
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51BA28#FFFFFF#000000##000000
##51BA281.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#B2A139
Tritanopia (blue-blind)
#46B49F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #51ba28;
/* rgb */ color: rgb(81, 186, 40);
/* oklch */ color: oklch(70.0% 0.202 138.8);
Tailwind
colors: {
  custom: {
    50: '#8dd06e',
    500: '#51ba28',
    950: '#000000',
  },
}
SCSS
$custom: #51ba28;
$custom-light: #8dd06e;
$custom-dark: #000000;
JSON
{
  "hex": "#51ba28",
  "rgb": {
    "r": 81,
    "g": 186,
    "b": 40
  },
  "hsl": {
    "h": 103.151,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.69981,
    "c": 0.20202,
    "h": 138.8
  },
  "luminance": 0.3702
}

Semantic roles & 50–950 ramp

primary
#51BA28
secondary
#B273CA
accent
#40E8B9
background
#F9FCF7
surface
#F2F9ED
border
#CCD2C8
text
#0D1408
muted
#7E827B

Preview Lab

Preview with #51BA28

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

Preview Lab → · Contrast checker → · Palette generator →

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