#51AA2B#51AA2B

#51AA2B is a light, vivid green. Relative luminance 0.307; OKLCH L 65.8% C 0.182 H 138.2°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#51AA2B
RGBrgb(81, 170, 43)
HSLhsl(102, 60%, 42%)
HSVhsv(102, 75%, 67%)
CMYKcmyk(52.4%, 0%, 74.7%, 33.3%)
CIE-LABlab(62.23, -48.99, 53.83)
CIE-LCHlch(62.23, 72.78, 132.30°)
OKLaboklab(65.81% -0.1354 0.121)
OKLCHoklch(65.81% 0.182 138.2)
XYZxyz(18.2035, 30.6718, 7.2460)
Luminance0.3067 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AA2B #842BAA
analogous
#91AA2B #51AA2B #2BAA45
triadic
#51AA2B #2B51AA #AA2B51
tetradic
#51AA2B #2B91AA #842BAA #AA452B
square
#51AA2B #2B91AA #842BAA #AA452B
split-complementary
#51AA2B #452BAA #AA2B91
monochromatic
#224812 #3A791F #51AA2B #6DCF43 #93DC74

Accessibility & contrast

On white

2.94
#51AA2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#51AA2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51AA2B
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51AA2B#FFFFFF#000000##000000
##51AA2B1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B11
Deuteranopia (green-blind)
#A49438
Tritanopia (blue-blind)
#4AA492
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #51aa2b;
/* rgb */ color: rgb(81, 170, 43);
/* oklch */ color: oklch(65.8% 0.182 138.2);
Tailwind
colors: {
  custom: {
    50: '#8bc46d',
    500: '#51aa2b',
    950: '#000000',
  },
}
SCSS
$custom: #51aa2b;
$custom-light: #8bc46d;
$custom-dark: #000000;
JSON
{
  "hex": "#51aa2b",
  "rgb": {
    "r": 81,
    "g": 170,
    "b": 43
  },
  "hsl": {
    "h": 102.047,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.65812,
    "c": 0.18158,
    "h": 138.2
  },
  "luminance": 0.30673
}

Semantic roles & 50–950 ramp

primary
#51AA2B
secondary
#AA6EC3
accent
#45E3B4
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #51AA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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