#518016#518016

#518016 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.6% C 0.140 H 131.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#518016
RGBrgb(81, 128, 22)
HSLhsl(87, 71%, 29%)
HSVhsv(87, 83%, 50%)
CMYKcmyk(36.7%, 0%, 82.8%, 49.8%)
CIE-LABlab(48.57, -32.76, 47.77)
CIE-LCHlch(48.57, 57.92, 124.45°)
OKLaboklab(54.56% -0.093 0.1051)
OKLCHoklch(54.56% 0.14 131.5)
XYZxyz(11.2572, 17.2451, 3.4944)
Luminance0.1725 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518016 #451680
analogous
#807A16 #518016 #1C8016
triadic
#518016 #165180 #801651
tetradic
#518016 #16807A #451680 #80161C
square
#518016 #16807A #451680 #80161C
split-complementary
#518016 #161C80 #7A1680
monochromatic
#111A04 #304C0D #518016 #72B41F #92DC34

Accessibility & contrast

On white

4.72
#518016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#518016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #518016
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518016#FFFFFF#000000##FFFFFF
##5180161.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#807222
Tritanopia (blue-blind)
#527A6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #518016;
/* rgb */ color: rgb(81, 128, 22);
/* oklch */ color: oklch(54.6% 0.140 131.5);
Tailwind
colors: {
  custom: {
    50: '#86a55e',
    500: '#518016',
    950: '#000000',
  },
}
SCSS
$custom: #518016;
$custom-light: #86a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#518016",
  "rgb": {
    "r": 81,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 86.604,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54563,
    "c": 0.14037,
    "h": 131.5
  },
  "luminance": 0.17246
}

Semantic roles & 50–950 ramp

primary
#518016
secondary
#723DB5
accent
#3AED8A
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #518016

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

Preview Lab → · Contrast checker → · Palette generator →

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