#507A5C#507A5C

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

Color values

HEX#507A5C
RGBrgb(80, 122, 92)
HSLhsl(137, 21%, 40%)
HSVhsv(137, 34%, 48%)
CMYKcmyk(34.4%, 0%, 24.6%, 52.2%)
CIE-LABlab(47.49, -21.46, 11.89)
CIE-LCHlch(47.49, 24.53, 151.01°)
OKLaboklab(53.97% -0.059 0.0304)
OKLCHoklch(53.97% 0.066 152.7)
XYZxyz(12.1989, 16.3966, 12.6452)
Luminance0.1640 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507A5C #7A506E
analogous
#597A50 #507A5C #507A71
triadic
#507A5C #5C507A #7A5C50
tetradic
#507A5C #50597A #7A506E #7A7150
square
#507A5C #50597A #7A506E #7A7150
split-complementary
#507A5C #71507A #7A5059
monochromatic
#203024 #385540 #507A5C #6A9D79 #8FB59A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##507A5C#FFFFFF#000000##FFFFFF
##507A5C1.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)
#7A735A
Deuteranopia (green-blind)
#736F5E
Tritanopia (blue-blind)
#497972
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #507a5c;
/* rgb */ color: rgb(80, 122, 92);
/* oklch */ color: oklch(54.0% 0.066 152.7);
Tailwind
colors: {
  custom: {
    50: '#82a08a',
    500: '#507a5c',
    950: '#000000',
  },
}
SCSS
$custom: #507a5c;
$custom-light: #82a08a;
$custom-dark: #000000;
JSON
{
  "hex": "#507a5c",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 92
  },
  "hsl": {
    "h": 137.143,
    "s": 20.792,
    "l": 39.608
  },
  "oklch": {
    "l": 0.53969,
    "c": 0.06635,
    "h": 152.7
  },
  "luminance": 0.16397
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #507A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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