#51B415#51B415

#51B415 is a light, highly saturated yellow-green. Relative luminance 0.344; OKLCH L 68.3% C 0.203 H 137.5°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#51B415
RGBrgb(81, 180, 21)
HSLhsl(97, 79%, 39%)
HSVhsv(97, 88%, 71%)
CMYKcmyk(55%, 0%, 88.3%, 29.4%)
CIE-LABlab(65.31, -53.84, 62.79)
CIE-LCHlch(65.31, 82.72, 130.61°)
OKLaboklab(68.32% -0.1495 0.1368)
OKLCHoklch(68.32% 0.203 137.5)
XYZxyz(19.8493, 34.4444, 6.3118)
Luminance0.3445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51B415 #7815B4
analogous
#A1B415 #51B415 #15B428
triadic
#51B415 #1551B4 #B41551
tetradic
#51B415 #15A1B4 #7815B4 #B42815
square
#51B415 #15A1B4 #7815B4 #B42815
split-complementary
#51B415 #2815B4 #B415A1
monochromatic
#204608 #387D0F #51B415 #6BE521 #90EC58

Accessibility & contrast

On white

2.66
#51B415 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#51B415 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51B415
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51B415#FFFFFF#000000##000000
##51B4151.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#AE9C2D
Tritanopia (blue-blind)
#49AD99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #51b415;
/* rgb */ color: rgb(81, 180, 21);
/* oklch */ color: oklch(68.3% 0.203 137.5);
Tailwind
colors: {
  custom: {
    50: '#8dcb66',
    500: '#51b415',
    950: '#000000',
  },
}
SCSS
$custom: #51b415;
$custom-light: #8dcb66;
$custom-dark: #000000;
JSON
{
  "hex": "#51b415",
  "rgb": {
    "r": 81,
    "g": 180,
    "b": 21
  },
  "hsl": {
    "h": 97.358,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.68324,
    "c": 0.20264,
    "h": 137.5
  },
  "luminance": 0.34446
}

Semantic roles & 50–950 ramp

primary
#51B415
secondary
#A156CF
accent
#32F6AC
background
#F9FCF6
surface
#F2F9EB
border
#CCD2C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #51B415

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

Preview Lab → · Contrast checker → · Palette generator →

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