#51AA1D#51AA1D

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

Color values

HEX#51AA1D
RGBrgb(81, 170, 29)
HSLhsl(98, 71%, 39%)
HSVhsv(98, 83%, 67%)
CMYKcmyk(52.4%, 0%, 82.9%, 33.3%)
CIE-LABlab(62.16, -49.81, 58.15)
CIE-LCHlch(62.16, 76.56, 130.58°)
OKLaboklab(65.73% -0.1384 0.1281)
OKLCHoklch(65.73% 0.189 137.2)
XYZxyz(17.9893, 30.5861, 6.1179)
Luminance0.3059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AA1D #761DAA
analogous
#98AA1D #51AA1D #1DAA2F
triadic
#51AA1D #1D51AA #AA1D51
tetradic
#51AA1D #1D98AA #761DAA #AA2F1D
square
#51AA1D #1D98AA #761DAA #AA2F1D
split-complementary
#51AA1D #2F1DAA #AA1D98
monochromatic
#1F410B #387614 #51AA1D #6BDB2A #8FE45E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51AA1D#FFFFFF#000000##000000
##51AA1D1.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)
#A4942F
Tritanopia (blue-blind)
#4BA491
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #51aa1d;
/* rgb */ color: rgb(81, 170, 29);
/* oklch */ color: oklch(65.7% 0.189 137.2);
Tailwind
colors: {
  custom: {
    50: '#8bc467',
    500: '#51aa1d',
    950: '#000000',
  },
}
SCSS
$custom: #51aa1d;
$custom-light: #8bc467;
$custom-dark: #000000;
JSON
{
  "hex": "#51aa1d",
  "rgb": {
    "r": 81,
    "g": 170,
    "b": 29
  },
  "hsl": {
    "h": 97.872,
    "s": 70.854,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65729,
    "c": 0.18853,
    "h": 137.2
  },
  "luminance": 0.30587
}

Semantic roles & 50–950 ramp

primary
#51AA1D
secondary
#A05BC8
accent
#3AEEAB
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #51AA1D

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

Preview Lab → · Contrast checker → · Palette generator →

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