#518617#518617

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

Color values

HEX#518617
RGBrgb(81, 134, 23)
HSLhsl(89, 71%, 31%)
HSVhsv(89, 83%, 53%)
CMYKcmyk(39.6%, 0%, 82.8%, 47.5%)
CIE-LABlab(50.52, -35.40, 49.25)
CIE-LCHlch(50.52, 60.66, 125.71°)
OKLaboklab(56.16% -0.1001 0.1084)
OKLCHoklch(56.16% 0.148 132.7)
XYZxyz(12.0729, 18.8608, 3.8148)
Luminance0.1886 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518617 #4C1786
analogous
#868317 #518617 #198617
triadic
#518617 #175186 #861751
tetradic
#518617 #178683 #4C1786 #861719
square
#518617 #178683 #4C1786 #861719
split-complementary
#518617 #171986 #831786
monochromatic
#121E05 #31520E #518617 #71BA20 #8FDD3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##518617#FFFFFF#000000##000000
##5186171.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)
#857724
Tritanopia (blue-blind)
#528072
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #518617;
/* rgb */ color: rgb(81, 134, 23);
/* oklch */ color: oklch(56.2% 0.148 132.7);
Tailwind
colors: {
  custom: {
    50: '#87a95f',
    500: '#518617',
    950: '#000000',
  },
}
SCSS
$custom: #518617;
$custom-light: #87a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#518617",
  "rgb": {
    "r": 81,
    "g": 134,
    "b": 23
  },
  "hsl": {
    "h": 88.649,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56164,
    "c": 0.14754,
    "h": 132.7
  },
  "luminance": 0.18861
}

Semantic roles & 50–950 ramp

primary
#518617
secondary
#7A3FBA
accent
#3AED90
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #518617

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

Preview Lab → · Contrast checker → · Palette generator →

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