#518640#518640

#518640 is a mid, moderate green. Relative luminance 0.192; OKLCH L 56.6% C 0.116 H 138.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#518640
RGBrgb(81, 134, 64)
HSLhsl(105, 35%, 39%)
HSVhsv(105, 52%, 53%)
CMYKcmyk(39.6%, 0%, 52.2%, 47.5%)
CIE-LABlab(50.88, -31.72, 32.00)
CIE-LCHlch(50.88, 45.05, 134.75°)
OKLaboklab(56.58% -0.087 0.0768)
OKLCHoklch(56.58% 0.116 138.6)
XYZxyz(12.8434, 19.1690, 7.8728)
Luminance0.1917 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518640 #754086
analogous
#748640 #518640 #408652
triadic
#518640 #405186 #864051
tetradic
#518640 #407486 #754086 #865240
square
#518640 #407486 #754086 #865240
split-complementary
#518640 #524086 #864074
monochromatic
#1F3318 #385D2C #518640 #6BAE55 #8FC27F

Accessibility & contrast

On white

4.34
#518640 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#518640 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518640
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518640#FFFFFF#000000##000000
##5186401.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7C3A
Deuteranopia (green-blind)
#827745
Tritanopia (blue-blind)
#4E8276
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #518640;
/* rgb */ color: rgb(81, 134, 64);
/* oklch */ color: oklch(56.6% 0.116 138.6);
Tailwind
colors: {
  custom: {
    50: '#85a976',
    500: '#518640',
    950: '#000000',
  },
}
SCSS
$custom: #518640;
$custom-light: #85a976;
$custom-dark: #000000;
JSON
{
  "hex": "#518640",
  "rgb": {
    "r": 81,
    "g": 134,
    "b": 64
  },
  "hsl": {
    "h": 105.429,
    "s": 35.354,
    "l": 38.824
  },
  "oklch": {
    "l": 0.56575,
    "c": 0.11606,
    "h": 138.6
  },
  "luminance": 0.1917
}

Semantic roles & 50–950 ramp

primary
#518640
secondary
#9F76AC
accent
#5CCBB0
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #518640

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

Preview Lab → · Contrast checker → · Palette generator →

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