#51B316#51B316

#51B316 is a light, highly saturated yellow-green. Relative luminance 0.340; OKLCH L 68.1% C 0.201 H 137.5°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#51B316
RGBrgb(81, 179, 22)
HSLhsl(97, 78%, 39%)
HSVhsv(97, 88%, 70%)
CMYKcmyk(54.7%, 0%, 87.7%, 29.8%)
CIE-LABlab(65.00, -53.45, 62.32)
CIE-LCHlch(65.00, 82.10, 130.62°)
OKLaboklab(68.07% -0.1484 0.1359)
OKLCHoklch(68.07% 0.201 137.5)
XYZxyz(19.6576, 34.0459, 6.2945)
Luminance0.3405 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51B316 #7816B3
analogous
#A0B316 #51B316 #16B329
triadic
#51B316 #1651B3 #B31651
tetradic
#51B316 #16A0B3 #7816B3 #B32916
square
#51B316 #16A0B3 #7816B3 #B32916
split-complementary
#51B316 #2916B3 #B316A0
monochromatic
#204609 #387C0F #51B316 #6BE422 #90EB59

Accessibility & contrast

On white

2.69
#51B316 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#51B316 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51B316
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51B316#FFFFFF#000000##000000
##51B3161.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#AD9B2D
Tritanopia (blue-blind)
#49AC98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #51b316;
/* rgb */ color: rgb(81, 179, 22);
/* oklch */ color: oklch(68.1% 0.201 137.5);
Tailwind
colors: {
  custom: {
    50: '#8dca66',
    500: '#51b316',
    950: '#000000',
  },
}
SCSS
$custom: #51b316;
$custom-light: #8dca66;
$custom-dark: #000000;
JSON
{
  "hex": "#51b316",
  "rgb": {
    "r": 81,
    "g": 179,
    "b": 22
  },
  "hsl": {
    "h": 97.452,
    "s": 78.109,
    "l": 39.412
  },
  "oklch": {
    "l": 0.68065,
    "c": 0.20123,
    "h": 137.5
  },
  "luminance": 0.34047
}

Semantic roles & 50–950 ramp

primary
#51B316
secondary
#A157CE
accent
#33F5AC
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #51B316

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

Preview Lab → · Contrast checker → · Palette generator →

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