#51AB1C#51AB1C

#51AB1C is a light, vivid yellow-green. Relative luminance 0.310; OKLCH L 66.0% C 0.190 H 137.2°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#51AB1C
RGBrgb(81, 171, 28)
HSLhsl(98, 72%, 39%)
HSVhsv(98, 84%, 67%)
CMYKcmyk(52.6%, 0%, 83.6%, 32.9%)
CIE-LABlab(62.47, -50.23, 58.70)
CIE-LCHlch(62.47, 77.26, 130.56°)
OKLaboklab(65.99% -0.1395 0.1291)
OKLCHoklch(65.99% 0.19 137.2)
XYZxyz(18.1653, 30.9576, 6.1166)
Luminance0.3096 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AB1C #761CAB
analogous
#99AB1C #51AB1C #1CAB2F
triadic
#51AB1C #1C51AB #AB1C51
tetradic
#51AB1C #1C99AB #761CAB #AB2F1C
square
#51AB1C #1C99AB #761CAB #AB2F1C
split-complementary
#51AB1C #2F1CAB #AB1C99
monochromatic
#1F420B #387613 #51AB1C #6BDC28 #8FE45D

Accessibility & contrast

On white

2.92
#51AB1C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#51AB1C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51AB1C
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51AB1C#FFFFFF#000000##000000
##51AB1C1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#A5942E
Tritanopia (blue-blind)
#4BA592
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #51ab1c;
/* rgb */ color: rgb(81, 171, 28);
/* oklch */ color: oklch(66.0% 0.190 137.2);
Tailwind
colors: {
  custom: {
    50: '#8bc567',
    500: '#51ab1c',
    950: '#000000',
  },
}
SCSS
$custom: #51ab1c;
$custom-light: #8bc567;
$custom-dark: #000000;
JSON
{
  "hex": "#51ab1c",
  "rgb": {
    "r": 81,
    "g": 171,
    "b": 28
  },
  "hsl": {
    "h": 97.762,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65987,
    "c": 0.19008,
    "h": 137.2
  },
  "luminance": 0.30959
}

Semantic roles & 50–950 ramp

primary
#51AB1C
secondary
#A05AC9
accent
#39EFAB
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #51AB1C

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

Preview Lab → · Contrast checker → · Palette generator →

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