#51A017#51A017

#51A017 is a light, vivid yellow-green. Relative luminance 0.270; OKLCH L 63.1% C 0.179 H 136.1°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#51A017
RGBrgb(81, 160, 23)
HSLhsl(95, 75%, 36%)
HSVhsv(95, 86%, 63%)
CMYKcmyk(49.4%, 0%, 85.6%, 37.3%)
CIE-LABlab(58.93, -46.22, 56.80)
CIE-LCHlch(58.93, 73.22, 129.13°)
OKLaboklab(63.06% -0.129 0.1243)
OKLCHoklch(63.06% 0.179 136.1)
XYZxyz(16.1184, 26.9517, 5.1633)
Luminance0.2695 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A017 #6617A0
analogous
#95A017 #51A017 #17A022
triadic
#51A017 #1751A0 #A01751
tetradic
#51A017 #1795A0 #6617A0 #A02217
square
#51A017 #1795A0 #6617A0 #A02217
split-complementary
#51A017 #2217A0 #A01795
monochromatic
#1B3508 #366A0F #51A017 #6CD61F #8DE54C

Accessibility & contrast

On white

3.29
#51A017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#51A017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A017
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A017#FFFFFF#000000##000000
##51A0171.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9C8B29
Tritanopia (blue-blind)
#4D9A88
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #51a017;
/* rgb */ color: rgb(81, 160, 23);
/* oklch */ color: oklch(63.1% 0.179 136.1);
Tailwind
colors: {
  custom: {
    50: '#8abd63',
    500: '#51a017',
    950: '#000000',
  },
}
SCSS
$custom: #51a017;
$custom-light: #8abd63;
$custom-dark: #000000;
JSON
{
  "hex": "#51a017",
  "rgb": {
    "r": 81,
    "g": 160,
    "b": 23
  },
  "hsl": {
    "h": 94.599,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63063,
    "c": 0.1792,
    "h": 136.1
  },
  "luminance": 0.26953
}

Semantic roles & 50–950 ramp

primary
#51A017
secondary
#934CC7
accent
#36F1A2
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0D1206
muted
#7D817A

Preview Lab

Preview with #51A017

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

Preview Lab → · Contrast checker → · Palette generator →

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