#518517#518517

#518517 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 55.9% C 0.146 H 132.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#518517
RGBrgb(81, 133, 23)
HSLhsl(88, 71%, 31%)
HSVhsv(88, 83%, 52%)
CMYKcmyk(39.1%, 0%, 82.7%, 47.8%)
CIE-LABlab(50.20, -34.96, 48.96)
CIE-LCHlch(50.20, 60.16, 125.53°)
OKLaboklab(55.9% -0.0989 0.1078)
OKLCHoklch(55.9% 0.146 132.5)
XYZxyz(11.9354, 18.5857, 3.7690)
Luminance0.1859 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518517 #4B1785
analogous
#858217 #518517 #1A8517
triadic
#518517 #175185 #851751
tetradic
#518517 #178582 #4B1785 #85171A
square
#518517 #178582 #4B1785 #85171A
split-complementary
#518517 #171A85 #821785
monochromatic
#111D05 #31510E #518517 #71B920 #90DD3A

Accessibility & contrast

On white

4.45
#518517 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#518517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518517
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518517#FFFFFF#000000##000000
##5185171.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#847624
Tritanopia (blue-blind)
#527F71
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #518517;
/* rgb */ color: rgb(81, 133, 23);
/* oklch */ color: oklch(55.9% 0.146 132.5);
Tailwind
colors: {
  custom: {
    50: '#87a95f',
    500: '#518517',
    950: '#000000',
  },
}
SCSS
$custom: #518517;
$custom-light: #87a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#518517",
  "rgb": {
    "r": 81,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 88.364,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55898,
    "c": 0.14627,
    "h": 132.5
  },
  "luminance": 0.18586
}

Semantic roles & 50–950 ramp

primary
#518517
secondary
#793FB9
accent
#3BED8F
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #518517

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

Preview Lab → · Contrast checker → · Palette generator →

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