#507A5A#507A5A

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

Color values

HEX#507A5A
RGBrgb(80, 122, 90)
HSLhsl(134, 21%, 40%)
HSVhsv(134, 34%, 48%)
CMYKcmyk(34.4%, 0%, 26.2%, 52.2%)
CIE-LABlab(47.45, -21.86, 12.99)
CIE-LCHlch(47.45, 25.43, 149.27°)
OKLaboklab(53.92% -0.0599 0.0331)
OKLCHoklch(53.92% 0.069 151.1)
XYZxyz(12.1126, 16.3621, 12.1909)
Luminance0.1636 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507A5A #7A5070
analogous
#5B7A50 #507A5A #507A6F
triadic
#507A5A #5A507A #7A5A50
tetradic
#507A5A #505B7A #7A5070 #7A6F50
square
#507A5A #505B7A #7A5070 #7A6F50
split-complementary
#507A5A #6F507A #7A505B
monochromatic
#203023 #38553F #507A5A #6A9D76 #8FB598

Accessibility & contrast

On white

4.92
#507A5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#507A5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507A5A
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507A5A#FFFFFF#000000##FFFFFF
##507A5A1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7358
Deuteranopia (green-blind)
#746F5C
Tritanopia (blue-blind)
#497971
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #507a5a;
/* rgb */ color: rgb(80, 122, 90);
/* oklch */ color: oklch(53.9% 0.069 151.1);
Tailwind
colors: {
  custom: {
    50: '#82a088',
    500: '#507a5a',
    950: '#000000',
  },
}
SCSS
$custom: #507a5a;
$custom-light: #82a088;
$custom-dark: #000000;
JSON
{
  "hex": "#507a5a",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 90
  },
  "hsl": {
    "h": 134.286,
    "s": 20.792,
    "l": 39.608
  },
  "oklch": {
    "l": 0.53919,
    "c": 0.0685,
    "h": 151.1
  },
  "luminance": 0.16363
}

Semantic roles & 50–950 ramp

primary
#507A5A
secondary
#A3839B
accent
#6AAABD
background
#F8F9F8
surface
#EFF2F0
border
#CACCCB
text
#0A0F0B
muted
#7C7E7C

Preview Lab

Preview with #507A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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