#507D5D#507D5D

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

Color values

HEX#507D5D
RGBrgb(80, 125, 93)
HSLhsl(137, 22%, 40%)
HSVhsv(137, 36%, 49%)
CMYKcmyk(36%, 0%, 25.6%, 51%)
CIE-LABlab(48.46, -22.80, 12.66)
CIE-LCHlch(48.46, 26.08, 150.96°)
OKLaboklab(54.76% -0.0626 0.0323)
OKLCHoklch(54.76% 0.07 152.7)
XYZxyz(12.6169, 17.1623, 13.0017)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507D5D #7D5070
analogous
#5A7D50 #507D5D #507D73
triadic
#507D5D #5D507D #7D5D50
tetradic
#507D5D #505A7D #7D5070 #7D7350
square
#507D5D #505A7D #7D5070 #7D7350
split-complementary
#507D5D #73507D #7D505A
monochromatic
#203225 #385841 #507D5D #6AA07A #90B89B

Accessibility & contrast

On white

4.74
#507D5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#507D5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507D5D
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507D5D#FFFFFF#000000##FFFFFF
##507D5D1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D765B
Deuteranopia (green-blind)
#76715F
Tritanopia (blue-blind)
#487C74
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #507d5d;
/* rgb */ color: rgb(80, 125, 93);
/* oklch */ color: oklch(54.8% 0.070 152.7);
Tailwind
colors: {
  custom: {
    50: '#83a38b',
    500: '#507d5d',
    950: '#000000',
  },
}
SCSS
$custom: #507d5d;
$custom-light: #83a38b;
$custom-dark: #000000;
JSON
{
  "hex": "#507d5d",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 93
  },
  "hsl": {
    "h": 137.333,
    "s": 21.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.54762,
    "c": 0.07047,
    "h": 152.7
  },
  "luminance": 0.17163
}

Semantic roles & 50–950 ramp

primary
#507D5D
secondary
#A5849B
accent
#69A6BE
background
#F8FAF8
surface
#EFF3F0
border
#CACDCB
text
#0B0F0C
muted
#7C7F7D

Preview Lab

Preview with #507D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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