#518616#518616

#518616 is a mid, vivid yellow-green. Relative luminance 0.189; OKLCH L 56.2% C 0.148 H 132.6°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#518616
RGBrgb(81, 134, 22)
HSLhsl(88, 72%, 31%)
HSVhsv(88, 84%, 53%)
CMYKcmyk(39.6%, 0%, 83.6%, 47.5%)
CIE-LABlab(50.52, -35.45, 49.54)
CIE-LCHlch(50.52, 60.92, 125.59°)
OKLaboklab(56.16% -0.1003 0.1089)
OKLCHoklch(56.16% 0.148 132.6)
XYZxyz(12.0631, 18.8569, 3.7630)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518616 #4B1686
analogous
#868316 #518616 #198616
triadic
#518616 #165186 #861651
tetradic
#518616 #168683 #4B1686 #861619
square
#518616 #168683 #4B1686 #861619
split-complementary
#518616 #161986 #831686
monochromatic
#111D05 #31510D #518616 #71BB1F #90DE38

Accessibility & contrast

On white

4.40
#518616 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#518616 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518616
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518616#FFFFFF#000000##000000
##5186161.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#857723
Tritanopia (blue-blind)
#528072
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #518616;
/* rgb */ color: rgb(81, 134, 22);
/* oklch */ color: oklch(56.2% 0.148 132.6);
Tailwind
colors: {
  custom: {
    50: '#87a95f',
    500: '#518616',
    950: '#000000',
  },
}
SCSS
$custom: #518616;
$custom-light: #87a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#518616",
  "rgb": {
    "r": 81,
    "g": 134,
    "b": 22
  },
  "hsl": {
    "h": 88.393,
    "s": 71.795,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56159,
    "c": 0.148,
    "h": 132.6
  },
  "luminance": 0.18857
}

Semantic roles & 50–950 ramp

primary
#518616
secondary
#793EBA
accent
#39EF8F
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #518616

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

Preview Lab → · Contrast checker → · Palette generator →

#518616 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva