#51AC2A#51AC2A

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

Color values

HEX#51AC2A
RGBrgb(81, 172, 42)
HSLhsl(102, 61%, 42%)
HSVhsv(102, 76%, 67%)
CMYKcmyk(52.9%, 0%, 75.6%, 32.5%)
CIE-LABlab(62.86, -49.82, 54.80)
CIE-LCHlch(62.86, 74.07, 132.27°)
OKLaboklab(66.33% -0.1377 0.1229)
OKLCHoklch(66.33% 0.185 138.2)
XYZxyz(18.5631, 31.4201, 7.2765)
Luminance0.3142 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AC2A #852AAC
analogous
#92AC2A #51AC2A #2AAC44
triadic
#51AC2A #2A51AC #AC2A51
tetradic
#51AC2A #2A92AC #852AAC #AC442A
square
#51AC2A #2A92AC #852AAC #AC442A
split-complementary
#51AC2A #442AAC #AC2A92
monochromatic
#234A12 #3A7B1E #51AC2A #6DD142 #93DD73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51AC2A#FFFFFF#000000##000000
##51AC2A1.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)
#B19D0D
Deuteranopia (green-blind)
#A69538
Tritanopia (blue-blind)
#49A693
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #51ac2a;
/* rgb */ color: rgb(81, 172, 42);
/* oklch */ color: oklch(66.3% 0.185 138.2);
Tailwind
colors: {
  custom: {
    50: '#8bc56d',
    500: '#51ac2a',
    950: '#000000',
  },
}
SCSS
$custom: #51ac2a;
$custom-light: #8bc56d;
$custom-dark: #000000;
JSON
{
  "hex": "#51ac2a",
  "rgb": {
    "r": 81,
    "g": 172,
    "b": 42
  },
  "hsl": {
    "h": 102,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6633,
    "c": 0.18457,
    "h": 138.2
  },
  "luminance": 0.31422
}

Semantic roles & 50–950 ramp

primary
#51AC2A
secondary
#AA6DC4
accent
#44E4B4
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #51AC2A

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

Preview Lab → · Contrast checker → · Palette generator →

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