#518752#518752

#518752 is a mid, moderate green. Relative luminance 0.197; OKLCH L 57.1% C 0.099 H 144.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#518752
RGBrgb(81, 135, 82)
HSLhsl(121, 25%, 42%)
HSVhsv(121, 40%, 53%)
CMYKcmyk(40%, 0%, 39.3%, 47.1%)
CIE-LABlab(51.48, -29.47, 23.01)
CIE-LCHlch(51.48, 37.39, 142.02°)
OKLaboklab(57.15% -0.0803 0.0572)
OKLCHoklch(57.15% 0.099 144.6)
XYZxyz(13.5797, 19.6857, 11.0652)
Luminance0.1969 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#518752 #875186
analogous
#6B8751 #518752 #51876D
triadic
#518752 #525187 #875251
tetradic
#518752 #516B87 #875186 #876D51
square
#518752 #516B87 #875186 #876D51
split-complementary
#518752 #6D5187 #87516B
monochromatic
#233B24 #3A613B #518752 #6EA86F #94BF95

Accessibility & contrast

On white

4.25
#518752 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#518752 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #518752
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##518752#FFFFFF#000000##000000
##5187521.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897E4E
Deuteranopia (green-blind)
#817955
Tritanopia (blue-blind)
#4B847A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #518752;
/* rgb */ color: rgb(81, 135, 82);
/* oklch */ color: oklch(57.1% 0.099 144.6);
Tailwind
colors: {
  custom: {
    50: '#84aa83',
    500: '#518752',
    950: '#000000',
  },
}
SCSS
$custom: #518752;
$custom-light: #84aa83;
$custom-dark: #000000;
JSON
{
  "hex": "#518752",
  "rgb": {
    "r": 81,
    "g": 135,
    "b": 82
  },
  "hsl": {
    "h": 121.111,
    "s": 25,
    "l": 42.353
  },
  "oklch": {
    "l": 0.57149,
    "c": 0.09856,
    "h": 144.6
  },
  "luminance": 0.19686
}

Semantic roles & 50–950 ramp

primary
#518752
secondary
#AC88AB
accent
#66C0C1
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0B100A
muted
#7C7F7C

Preview Lab

Preview with #518752

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

Preview Lab → · Contrast checker → · Palette generator →

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