#507A5B#507A5B

#507A5B is a mid, moderate green. Relative luminance 0.164; OKLCH L 53.9% C 0.067 H 151.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#507A5B
RGBrgb(80, 122, 91)
HSLhsl(136, 21%, 40%)
HSVhsv(136, 34%, 48%)
CMYKcmyk(34.4%, 0%, 25.4%, 52.2%)
CIE-LABlab(47.47, -21.66, 12.44)
CIE-LCHlch(47.47, 24.98, 150.12°)
OKLaboklab(53.94% -0.0595 0.0318)
OKLCHoklch(53.94% 0.067 151.9)
XYZxyz(12.1555, 16.3793, 12.4165)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507A5B #7A506F
analogous
#5A7A50 #507A5B #507A70
triadic
#507A5B #5B507A #7A5B50
tetradic
#507A5B #505A7A #7A506F #7A7050
square
#507A5B #505A7A #7A506F #7A7050
split-complementary
#507A5B #70507A #7A505A
monochromatic
#203024 #38553F #507A5B #6A9D77 #8FB599

Accessibility & contrast

On white

4.91
#507A5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #507A5B
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507A5B#FFFFFF#000000##FFFFFF
##507A5B1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7359
Deuteranopia (green-blind)
#746F5D
Tritanopia (blue-blind)
#497972
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #507a5b;
/* rgb */ color: rgb(80, 122, 91);
/* oklch */ color: oklch(53.9% 0.067 151.9);
Tailwind
colors: {
  custom: {
    50: '#82a089',
    500: '#507a5b',
    950: '#000000',
  },
}
SCSS
$custom: #507a5b;
$custom-light: #82a089;
$custom-dark: #000000;
JSON
{
  "hex": "#507a5b",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 91
  },
  "hsl": {
    "h": 135.714,
    "s": 20.792,
    "l": 39.608
  },
  "oklch": {
    "l": 0.53944,
    "c": 0.06742,
    "h": 151.9
  },
  "luminance": 0.1638
}

Semantic roles & 50–950 ramp

primary
#507A5B
secondary
#A3839A
accent
#6AA8BD
background
#F8F9F8
surface
#EFF2F0
border
#CACCCB
text
#0A0F0B
muted
#7C7E7C

Preview Lab

Preview with #507A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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