#518638#518638

#518638 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.5% C 0.124 H 136.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#518638
RGBrgb(81, 134, 56)
HSLhsl(101, 41%, 37%)
HSVhsv(101, 58%, 53%)
CMYKcmyk(39.6%, 0%, 58.2%, 47.5%)
CIE-LABlab(50.79, -32.71, 35.96)
CIE-LCHlch(50.79, 48.61, 132.29°)
OKLaboklab(56.46% -0.0902 0.0848)
OKLCHoklch(56.46% 0.124 136.8)
XYZxyz(12.6319, 19.0844, 6.7587)
Luminance0.1908 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518638 #6D3886
analogous
#788638 #518638 #388646
triadic
#518638 #385186 #863851
tetradic
#518638 #387886 #6D3886 #864638
square
#518638 #387886 #6D3886 #864638
split-complementary
#518638 #463886 #863878
monochromatic
#1D3014 #375B26 #518638 #6BB14A #8EC574

Accessibility & contrast

On white

4.36
#518638 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#518638 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518638
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518638#FFFFFF#000000##000000
##5186381.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7C30
Deuteranopia (green-blind)
#83773E
Tritanopia (blue-blind)
#4F8175
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #518638;
/* rgb */ color: rgb(81, 134, 56);
/* oklch */ color: oklch(56.5% 0.124 136.8);
Tailwind
colors: {
  custom: {
    50: '#85a971',
    500: '#518638',
    950: '#000000',
  },
}
SCSS
$custom: #518638;
$custom-light: #85a971;
$custom-dark: #000000;
JSON
{
  "hex": "#518638",
  "rgb": {
    "r": 81,
    "g": 134,
    "b": 56
  },
  "hsl": {
    "h": 100.769,
    "s": 41.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.56462,
    "c": 0.12386,
    "h": 136.8
  },
  "luminance": 0.19085
}

Semantic roles & 50–950 ramp

primary
#518638
secondary
#996CAE
accent
#57D1AA
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #518638

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

Preview Lab → · Contrast checker → · Palette generator →

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