#51AB2A#51AB2A

#51AB2A is a light, vivid green. Relative luminance 0.310; OKLCH L 66.1% C 0.183 H 138.2°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#51AB2A
RGBrgb(81, 171, 42)
HSLhsl(102, 61%, 42%)
HSVhsv(102, 75%, 67%)
CMYKcmyk(52.6%, 0%, 75.4%, 32.9%)
CIE-LABlab(62.54, -49.44, 54.49)
CIE-LCHlch(62.54, 73.58, 132.22°)
OKLaboklab(66.07% -0.1366 0.1223)
OKLCHoklch(66.07% 0.183 138.2)
XYZxyz(18.3735, 31.0409, 7.2133)
Luminance0.3104 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AB2A #842AAB
analogous
#92AB2A #51AB2A #2AAB43
triadic
#51AB2A #2A51AB #AB2A51
tetradic
#51AB2A #2A92AB #842AAB #AB432A
square
#51AB2A #2A92AB #842AAB #AB432A
split-complementary
#51AB2A #432AAB #AB2A92
monochromatic
#224912 #3A7A1E #51AB2A #6DD142 #93DD73

Accessibility & contrast

On white

2.91
#51AB2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#51AB2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51AB2A
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51AB2A#FFFFFF#000000##000000
##51AB2A1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C0E
Deuteranopia (green-blind)
#A59438
Tritanopia (blue-blind)
#4AA592
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #51ab2a;
/* rgb */ color: rgb(81, 171, 42);
/* oklch */ color: oklch(66.1% 0.183 138.2);
Tailwind
colors: {
  custom: {
    50: '#8bc56d',
    500: '#51ab2a',
    950: '#000000',
  },
}
SCSS
$custom: #51ab2a;
$custom-light: #8bc56d;
$custom-dark: #000000;
JSON
{
  "hex": "#51ab2a",
  "rgb": {
    "r": 81,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 101.86,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.66068,
    "c": 0.18337,
    "h": 138.2
  },
  "luminance": 0.31042
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #51AB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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