#51A11D#51A11D

#51A11D is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 63.4% C 0.178 H 136.5°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#51A11D
RGBrgb(81, 161, 29)
HSLhsl(96, 69%, 37%)
HSVhsv(96, 82%, 63%)
CMYKcmyk(49.7%, 0%, 82%, 36.9%)
CIE-LABlab(59.28, -46.33, 55.52)
CIE-LCHlch(59.28, 72.31, 129.85°)
OKLaboklab(63.36% -0.1291 0.1225)
OKLCHoklch(63.36% 0.178 136.5)
XYZxyz(16.3595, 27.3266, 5.5747)
Luminance0.2733 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A11D #6D1DA1
analogous
#93A11D #51A11D #1DA12B
triadic
#51A11D #1D51A1 #A11D51
tetradic
#51A11D #1D93A1 #6D1DA1 #A12B1D
square
#51A11D #1D93A1 #6D1DA1 #A12B1D
split-complementary
#51A11D #2B1DA1 #A11D93
monochromatic
#1D390A #376D14 #51A11D #6BD526 #8EE158

Accessibility & contrast

On white

3.25
#51A11D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#51A11D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A11D
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A11D#FFFFFF#000000##000000
##51A11D1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#9C8C2D
Tritanopia (blue-blind)
#4D9B89
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #51a11d;
/* rgb */ color: rgb(81, 161, 29);
/* oklch */ color: oklch(63.4% 0.178 136.5);
Tailwind
colors: {
  custom: {
    50: '#8abd66',
    500: '#51a11d',
    950: '#000000',
  },
}
SCSS
$custom: #51a11d;
$custom-light: #8abd66;
$custom-dark: #000000;
JSON
{
  "hex": "#51a11d",
  "rgb": {
    "r": 81,
    "g": 161,
    "b": 29
  },
  "hsl": {
    "h": 96.364,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63356,
    "c": 0.17795,
    "h": 136.5
  },
  "luminance": 0.27328
}

Semantic roles & 50–950 ramp

primary
#51A11D
secondary
#9955C4
accent
#3CECA7
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0D1206
muted
#7D817A

Preview Lab

Preview with #51A11D

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

Preview Lab → · Contrast checker → · Palette generator →

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