#51AA1B#51AA1B

#51AA1B is a light, vivid yellow-green. Relative luminance 0.306; OKLCH L 65.7% C 0.189 H 137.1°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#51AA1B
RGBrgb(81, 170, 27)
HSLhsl(97, 73%, 39%)
HSVhsv(97, 84%, 67%)
CMYKcmyk(52.4%, 0%, 84.1%, 33.3%)
CIE-LABlab(62.15, -49.90, 58.67)
CIE-LCHlch(62.15, 77.02, 130.38°)
OKLaboklab(65.72% -0.1387 0.1289)
OKLCHoklch(65.72% 0.189 137.1)
XYZxyz(17.9653, 30.5766, 5.9919)
Luminance0.3058 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AA1B #741BAA
analogous
#98AA1B #51AA1B #1BAA2D
triadic
#51AA1B #1B51AA #AA1B51
tetradic
#51AA1B #1B98AA #741BAA #AA2D1B
square
#51AA1B #1B98AA #741BAA #AA2D1B
split-complementary
#51AA1B #2D1BAA #AA1B98
monochromatic
#1F400A #387513 #51AA1B #6BDC26 #8FE55B

Accessibility & contrast

On white

2.95
#51AA1B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#51AA1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51AA1B
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51AA1B#FFFFFF#000000##000000
##51AA1B1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#A4932E
Tritanopia (blue-blind)
#4BA491
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #51aa1b;
/* rgb */ color: rgb(81, 170, 27);
/* oklch */ color: oklch(65.7% 0.189 137.1);
Tailwind
colors: {
  custom: {
    50: '#8bc466',
    500: '#51aa1b',
    950: '#000000',
  },
}
SCSS
$custom: #51aa1b;
$custom-light: #8bc466;
$custom-dark: #000000;
JSON
{
  "hex": "#51aa1b",
  "rgb": {
    "r": 81,
    "g": 170,
    "b": 27
  },
  "hsl": {
    "h": 97.343,
    "s": 72.589,
    "l": 38.627
  },
  "oklch": {
    "l": 0.65719,
    "c": 0.18932,
    "h": 137.1
  },
  "luminance": 0.30578
}

Semantic roles & 50–950 ramp

primary
#51AA1B
secondary
#9E58C9
accent
#39EFAA
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #51AA1B

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

Preview Lab → · Contrast checker → · Palette generator →

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