#51A71C#51A71C

#51A71C is a light, vivid yellow-green. Relative luminance 0.295; OKLCH L 64.9% C 0.185 H 136.9°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#51A71C
RGBrgb(81, 167, 28)
HSLhsl(97, 71%, 38%)
HSVhsv(97, 83%, 65%)
CMYKcmyk(51.5%, 0%, 83.2%, 34.5%)
CIE-LABlab(61.19, -48.71, 57.55)
CIE-LCHlch(61.19, 75.39, 130.25°)
OKLaboklab(64.93% -0.1355 0.1266)
OKLCHoklch(64.93% 0.185 136.9)
XYZxyz(17.4211, 29.4693, 5.8685)
Luminance0.2947 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A71C #721CA7
analogous
#96A71C #51A71C #1CA72C
triadic
#51A71C #1C51A7 #A71C51
tetradic
#51A71C #1C96A7 #721CA7 #A72C1C
square
#51A71C #1C96A7 #721CA7 #A72C1C
split-complementary
#51A71C #2C1CA7 #A71C96
monochromatic
#1E3E0A #387313 #51A71C #6BDB26 #8EE35A

Accessibility & contrast

On white

3.05
#51A71C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#51A71C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A71C
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A71C#FFFFFF#000000##000000
##51A71C1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#A2912E
Tritanopia (blue-blind)
#4CA18E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #51a71c;
/* rgb */ color: rgb(81, 167, 28);
/* oklch */ color: oklch(64.9% 0.185 136.9);
Tailwind
colors: {
  custom: {
    50: '#8bc266',
    500: '#51a71c',
    950: '#000000',
  },
}
SCSS
$custom: #51a71c;
$custom-light: #8bc266;
$custom-dark: #000000;
JSON
{
  "hex": "#51a71c",
  "rgb": {
    "r": 81,
    "g": 167,
    "b": 28
  },
  "hsl": {
    "h": 97.122,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.64934,
    "c": 0.18545,
    "h": 136.9
  },
  "luminance": 0.29471
}

Semantic roles & 50–950 ramp

primary
#51A71C
secondary
#9D58C7
accent
#3AEEA9
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #51A71C

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

Preview Lab → · Contrast checker → · Palette generator →

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