#518618#518618

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

Color values

HEX#518618
RGBrgb(81, 134, 24)
HSLhsl(89, 70%, 31%)
HSVhsv(89, 82%, 53%)
CMYKcmyk(39.6%, 0%, 82.1%, 47.5%)
CIE-LABlab(50.53, -35.35, 48.95)
CIE-LCHlch(50.53, 60.38, 125.83°)
OKLaboklab(56.17% -0.0999 0.108)
OKLCHoklch(56.17% 0.147 132.8)
XYZxyz(12.0831, 18.8649, 3.8686)
Luminance0.1887 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518618 #4D1886
analogous
#868418 #518618 #1A8618
triadic
#518618 #185186 #861851
tetradic
#518618 #188684 #4D1886 #86181A
square
#518618 #188684 #4D1886 #86181A
split-complementary
#518618 #181A86 #841886
monochromatic
#121E05 #32520F #518618 #70BA21 #8FDC3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #518618;
/* rgb */ color: rgb(81, 134, 24);
/* oklch */ color: oklch(56.2% 0.147 132.8);
Tailwind
colors: {
  custom: {
    50: '#87a960',
    500: '#518618',
    950: '#000000',
  },
}
SCSS
$custom: #518618;
$custom-light: #87a960;
$custom-dark: #000000;
JSON
{
  "hex": "#518618",
  "rgb": {
    "r": 81,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 88.909,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5617,
    "c": 0.14706,
    "h": 132.8
  },
  "luminance": 0.18865
}

Semantic roles & 50–950 ramp

primary
#518618
secondary
#7B40BA
accent
#3BEC91
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #518618

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

Preview Lab → · Contrast checker → · Palette generator →

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