#507A5D#507A5D

#507A5D is a mid, moderate green. Relative luminance 0.164; OKLCH L 54.0% C 0.065 H 153.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#507A5D
RGBrgb(80, 122, 93)
HSLhsl(139, 21%, 40%)
HSVhsv(139, 34%, 48%)
CMYKcmyk(34.4%, 0%, 23.8%, 52.2%)
CIE-LABlab(47.51, -21.25, 11.34)
CIE-LCHlch(47.51, 24.08, 151.92°)
OKLaboklab(54% -0.0585 0.029)
OKLCHoklch(54% 0.065 153.6)
XYZxyz(12.2429, 16.4142, 12.8770)
Luminance0.1641 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507A5D #7A506D
analogous
#587A50 #507A5D #507A72
triadic
#507A5D #5D507A #7A5D50
tetradic
#507A5D #50587A #7A506D #7A7250
square
#507A5D #50587A #7A506D #7A7250
split-complementary
#507A5D #72507A #7A5058
monochromatic
#203025 #385541 #507A5D #6A9D7A #8FB59B

Accessibility & contrast

On white

4.90
#507A5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#507A5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507A5D
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507A5D#FFFFFF#000000##FFFFFF
##507A5D1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A745B
Deuteranopia (green-blind)
#736F5F
Tritanopia (blue-blind)
#497972
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #507a5d;
/* rgb */ color: rgb(80, 122, 93);
/* oklch */ color: oklch(54.0% 0.065 153.6);
Tailwind
colors: {
  custom: {
    50: '#82a08b',
    500: '#507a5d',
    950: '#000000',
  },
}
SCSS
$custom: #507a5d;
$custom-light: #82a08b;
$custom-dark: #000000;
JSON
{
  "hex": "#507a5d",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 93
  },
  "hsl": {
    "h": 138.571,
    "s": 20.792,
    "l": 39.608
  },
  "oklch": {
    "l": 0.53995,
    "c": 0.06529,
    "h": 153.6
  },
  "luminance": 0.16415
}

Semantic roles & 50–950 ramp

primary
#507A5D
secondary
#A38399
accent
#6AA4BD
background
#F8F9F8
surface
#EFF2F0
border
#CACCCB
text
#0A0F0C
muted
#7C7E7D

Preview Lab

Preview with #507A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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