#507D5F#507D5F

#507D5F is a mid, moderate green. Relative luminance 0.172; OKLCH L 54.8% C 0.068 H 154.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#507D5F
RGBrgb(80, 125, 95)
HSLhsl(140, 22%, 40%)
HSVhsv(140, 36%, 49%)
CMYKcmyk(36%, 0%, 24%, 51%)
CIE-LABlab(48.51, -22.39, 11.56)
CIE-LCHlch(48.51, 25.20, 152.70°)
OKLaboklab(54.81% -0.0616 0.0296)
OKLCHoklch(54.81% 0.068 154.4)
XYZxyz(12.7067, 17.1982, 13.4743)
Luminance0.1720 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507D5F #7D506E
analogous
#577D50 #507D5F #507D75
triadic
#507D5F #5F507D #7D5F50
tetradic
#507D5F #50577D #7D506E #7D7550
square
#507D5F #50577D #7D506E #7D7550
split-complementary
#507D5F #75507D #7D5057
monochromatic
#203226 #385843 #507D5F #6AA07C #90B89D

Accessibility & contrast

On white

4.73
#507D5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#507D5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507D5F
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507D5F#FFFFFF#000000##FFFFFF
##507D5F1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D765D
Deuteranopia (green-blind)
#767161
Tritanopia (blue-blind)
#487C75
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #507d5f;
/* rgb */ color: rgb(80, 125, 95);
/* oklch */ color: oklch(54.8% 0.068 154.4);
Tailwind
colors: {
  custom: {
    50: '#83a38c',
    500: '#507d5f',
    950: '#000000',
  },
}
SCSS
$custom: #507d5f;
$custom-light: #83a38c;
$custom-dark: #000000;
JSON
{
  "hex": "#507d5f",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 95
  },
  "hsl": {
    "h": 140,
    "s": 21.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.54813,
    "c": 0.06838,
    "h": 154.4
  },
  "luminance": 0.17199
}

Semantic roles & 50–950 ramp

primary
#507D5F
secondary
#A5849A
accent
#69A2BE
background
#F8FAF8
surface
#EFF3F0
border
#CACDCB
text
#0B0F0C
muted
#7C7F7D

Preview Lab

Preview with #507D5F

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

Preview Lab → · Contrast checker → · Palette generator →

#507D5F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva