#51A11A#51A11A

#51A11A is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 63.3% C 0.179 H 136.3°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#51A11A
RGBrgb(81, 161, 26)
HSLhsl(96, 72%, 37%)
HSVhsv(96, 84%, 63%)
CMYKcmyk(49.7%, 0%, 83.9%, 36.9%)
CIE-LABlab(59.26, -46.48, 56.33)
CIE-LCHlch(59.26, 73.03, 129.52°)
OKLaboklab(63.34% -0.1296 0.1238)
OKLCHoklch(63.34% 0.179 136.3)
XYZxyz(16.3242, 27.3125, 5.3887)
Luminance0.2731 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A11A #6A1AA1
analogous
#95A11A #51A11A #1AA127
triadic
#51A11A #1A51A1 #A11A51
tetradic
#51A11A #1A95A1 #6A1AA1 #A1271A
square
#51A11A #1A95A1 #6A1AA1 #A1271A
split-complementary
#51A11A #271AA1 #A11A95
monochromatic
#1C3809 #366C11 #51A11A #6CD623 #8DE352

Accessibility & contrast

On white

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

On black

6.46
#51A11A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A11A
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A11A#FFFFFF#000000##000000
##51A11A1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51a11a;
/* rgb */ color: rgb(81, 161, 26);
/* oklch */ color: oklch(63.3% 0.179 136.3);
Tailwind
colors: {
  custom: {
    50: '#8abd64',
    500: '#51a11a',
    950: '#000000',
  },
}
SCSS
$custom: #51a11a;
$custom-light: #8abd64;
$custom-dark: #000000;
JSON
{
  "hex": "#51a11a",
  "rgb": {
    "r": 81,
    "g": 161,
    "b": 26
  },
  "hsl": {
    "h": 95.556,
    "s": 72.193,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63341,
    "c": 0.17922,
    "h": 136.3
  },
  "luminance": 0.27314
}

Semantic roles & 50–950 ramp

primary
#51A11A
secondary
#9651C6
accent
#39EFA5
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0D1206
muted
#7D817A

Preview Lab

Preview with #51A11A

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

Preview Lab → · Contrast checker → · Palette generator →

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