#51A11C#51A11C

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

Color values

HEX#51A11C
RGBrgb(81, 161, 28)
HSLhsl(96, 70%, 37%)
HSVhsv(96, 83%, 63%)
CMYKcmyk(49.7%, 0%, 82.6%, 36.9%)
CIE-LABlab(59.27, -46.38, 55.80)
CIE-LCHlch(59.27, 72.56, 129.74°)
OKLaboklab(63.35% -0.1292 0.123)
OKLCHoklch(63.35% 0.178 136.4)
XYZxyz(16.3473, 27.3218, 5.5106)
Luminance0.2732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A11C #6C1CA1
analogous
#94A11C #51A11C #1CA129
triadic
#51A11C #1C51A1 #A11C51
tetradic
#51A11C #1C94A1 #6C1CA1 #A1291C
square
#51A11C #1C94A1 #6C1CA1 #A1291C
split-complementary
#51A11C #291CA1 #A11C94
monochromatic
#1D390A #376D13 #51A11C #6BD525 #8EE256

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51A11C#FFFFFF#000000##000000
##51A11C1.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)
#9C8C2C
Tritanopia (blue-blind)
#4D9B89
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #51a11c;
/* rgb */ color: rgb(81, 161, 28);
/* oklch */ color: oklch(63.4% 0.178 136.4);
Tailwind
colors: {
  custom: {
    50: '#8abd65',
    500: '#51a11c',
    950: '#000000',
  },
}
SCSS
$custom: #51a11c;
$custom-light: #8abd65;
$custom-dark: #000000;
JSON
{
  "hex": "#51a11c",
  "rgb": {
    "r": 81,
    "g": 161,
    "b": 28
  },
  "hsl": {
    "h": 96.09,
    "s": 70.37,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63351,
    "c": 0.17839,
    "h": 136.4
  },
  "luminance": 0.27323
}

Semantic roles & 50–950 ramp

primary
#51A11C
secondary
#9854C5
accent
#3BEDA6
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0D1206
muted
#7D817A

Preview Lab

Preview with #51A11C

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

Preview Lab → · Contrast checker → · Palette generator →

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