#51AC27#51AC27

#51AC27 is a light, vivid green. Relative luminance 0.314; OKLCH L 66.3% C 0.186 H 138.0°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#51AC27
RGBrgb(81, 172, 39)
HSLhsl(101, 63%, 41%)
HSVhsv(101, 77%, 67%)
CMYKcmyk(52.9%, 0%, 77.3%, 32.5%)
CIE-LABlab(62.84, -50.02, 55.80)
CIE-LCHlch(62.84, 74.94, 131.87°)
OKLaboklab(66.31% -0.1384 0.1246)
OKLCHoklch(66.31% 0.186 138)
XYZxyz(18.5114, 31.3994, 7.0043)
Luminance0.3140 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AC27 #8227AC
analogous
#94AC27 #51AC27 #27AC40
triadic
#51AC27 #2751AC #AC2751
tetradic
#51AC27 #2794AC #8227AC #AC4027
square
#51AC27 #2794AC #8227AC #AC4027
split-complementary
#51AC27 #4027AC #AC2794
monochromatic
#224810 #3A7A1C #51AC27 #6CD33D #92DE6F

Accessibility & contrast

On white

2.88
#51AC27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#51AC27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51AC27
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51AC27#FFFFFF#000000##000000
##51AC271.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D04
Deuteranopia (green-blind)
#A69536
Tritanopia (blue-blind)
#4AA693
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #51ac27;
/* rgb */ color: rgb(81, 172, 39);
/* oklch */ color: oklch(66.3% 0.186 138.0);
Tailwind
colors: {
  custom: {
    50: '#8bc56c',
    500: '#51ac27',
    950: '#000000',
  },
}
SCSS
$custom: #51ac27;
$custom-light: #8bc56c;
$custom-dark: #000000;
JSON
{
  "hex": "#51ac27",
  "rgb": {
    "r": 81,
    "g": 172,
    "b": 39
  },
  "hsl": {
    "h": 101.053,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6631,
    "c": 0.18619,
    "h": 138
  },
  "luminance": 0.31401
}

Semantic roles & 50–950 ramp

primary
#51AC27
secondary
#A86AC5
accent
#42E6B2
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #51AC27

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

Preview Lab → · Contrast checker → · Palette generator →

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