#51B418#51B418

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

Color values

HEX#51B418
RGBrgb(81, 180, 24)
HSLhsl(98, 76%, 40%)
HSVhsv(98, 87%, 71%)
CMYKcmyk(55%, 0%, 86.7%, 29.4%)
CIE-LABlab(65.32, -53.74, 62.18)
CIE-LCHlch(65.32, 82.18, 130.84°)
OKLaboklab(68.34% -0.1491 0.1359)
OKLCHoklch(68.34% 0.202 137.7)
XYZxyz(19.8788, 34.4562, 6.4672)
Luminance0.3446 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51B418 #7B18B4
analogous
#9FB418 #51B418 #18B42D
triadic
#51B418 #1851B4 #B41851
tetradic
#51B418 #189FB4 #7B18B4 #B42D18
square
#51B418 #189FB4 #7B18B4 #B42D18
split-complementary
#51B418 #2D18B4 #B4189F
monochromatic
#20480A #397E11 #51B418 #6BE227 #90E95D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51B418#FFFFFF#000000##000000
##51B4181.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)
#AE9C2E
Tritanopia (blue-blind)
#49AD99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #51b418;
/* rgb */ color: rgb(81, 180, 24);
/* oklch */ color: oklch(68.3% 0.202 137.7);
Tailwind
colors: {
  custom: {
    50: '#8dcb67',
    500: '#51b418',
    950: '#000000',
  },
}
SCSS
$custom: #51b418;
$custom-light: #8dcb67;
$custom-dark: #000000;
JSON
{
  "hex": "#51b418",
  "rgb": {
    "r": 81,
    "g": 180,
    "b": 24
  },
  "hsl": {
    "h": 98.077,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.68335,
    "c": 0.20172,
    "h": 137.7
  },
  "luminance": 0.34458
}

Semantic roles & 50–950 ramp

primary
#51B418
secondary
#A35BCD
accent
#35F3AE
background
#F9FCF6
surface
#F2F9EB
border
#CCD2C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #51B418

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

Preview Lab → · Contrast checker → · Palette generator →

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