#518762#518762

#518762 is a mid, moderate green. Relative luminance 0.200; OKLCH L 57.5% C 0.081 H 153.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#518762
RGBrgb(81, 135, 98)
HSLhsl(139, 25%, 42%)
HSVhsv(139, 40%, 53%)
CMYKcmyk(40%, 0%, 27.4%, 47.1%)
CIE-LABlab(51.79, -26.51, 14.39)
CIE-LCHlch(51.79, 30.16, 151.51°)
OKLaboklab(57.5% -0.0727 0.0366)
OKLCHoklch(57.5% 0.081 153.3)
XYZxyz(14.2610, 19.9583, 14.6538)
Luminance0.1996 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518762 #875176
analogous
#5B8751 #518762 #51877D
triadic
#518762 #625187 #876251
tetradic
#518762 #515B87 #875176 #877D51
square
#518762 #515B87 #875176 #877D51
split-complementary
#518762 #7D5187 #87515B
monochromatic
#233B2A #3A6146 #518762 #6EA880 #94BFA1

Accessibility & contrast

On white

4.21
#518762 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#518762 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518762
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518762#FFFFFF#000000##000000
##5187621.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877F60
Deuteranopia (green-blind)
#7F7964
Tritanopia (blue-blind)
#47867D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #518762;
/* rgb */ color: rgb(81, 135, 98);
/* oklch */ color: oklch(57.5% 0.081 153.3);
Tailwind
colors: {
  custom: {
    50: '#84aa8e',
    500: '#518762',
    950: '#000000',
  },
}
SCSS
$custom: #518762;
$custom-light: #84aa8e;
$custom-dark: #000000;
JSON
{
  "hex": "#518762",
  "rgb": {
    "r": 81,
    "g": 135,
    "b": 98
  },
  "hsl": {
    "h": 138.889,
    "s": 25,
    "l": 42.353
  },
  "oklch": {
    "l": 0.57503,
    "c": 0.08139,
    "h": 153.3
  },
  "luminance": 0.19959
}

Semantic roles & 50–950 ramp

primary
#518762
secondary
#AC88A0
accent
#66A5C1
background
#F8FAF8
surface
#EFF4F0
border
#CACECB
text
#0B100C
muted
#7C7F7D

Preview Lab

Preview with #518762

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

Preview Lab → · Contrast checker → · Palette generator →

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