#507A5F#507A5F

#507A5F is a mid, moderate green. Relative luminance 0.165; OKLCH L 54.0% C 0.063 H 155.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#507A5F
RGBrgb(80, 122, 95)
HSLhsl(141, 21%, 40%)
HSVhsv(141, 34%, 48%)
CMYKcmyk(34.4%, 0%, 22.1%, 52.2%)
CIE-LABlab(47.56, -20.83, 10.23)
CIE-LCHlch(47.56, 23.21, 153.85°)
OKLaboklab(54.05% -0.0575 0.0263)
OKLCHoklch(54.05% 0.063 155.5)
XYZxyz(12.3326, 16.4501, 13.3496)
Luminance0.1645 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507A5F #7A506B
analogous
#567A50 #507A5F #507A74
triadic
#507A5F #5F507A #7A5F50
tetradic
#507A5F #50567A #7A506B #7A7450
square
#507A5F #50567A #7A506B #7A7450
split-complementary
#507A5F #74507A #7A5056
monochromatic
#203025 #385542 #507A5F #6A9D7C #8FB59D

Accessibility & contrast

On white

4.89
#507A5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#507A5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507A5F
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507A5F#FFFFFF#000000##FFFFFF
##507A5F1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A745E
Deuteranopia (green-blind)
#736F61
Tritanopia (blue-blind)
#487972
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #507a5f;
/* rgb */ color: rgb(80, 122, 95);
/* oklch */ color: oklch(54.0% 0.063 155.5);
Tailwind
colors: {
  custom: {
    50: '#82a08c',
    500: '#507a5f',
    950: '#000000',
  },
}
SCSS
$custom: #507a5f;
$custom-light: #82a08c;
$custom-dark: #000000;
JSON
{
  "hex": "#507a5f",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 95
  },
  "hsl": {
    "h": 141.429,
    "s": 20.792,
    "l": 39.608
  },
  "oklch": {
    "l": 0.54048,
    "c": 0.06324,
    "h": 155.5
  },
  "luminance": 0.16451
}

Semantic roles & 50–950 ramp

primary
#507A5F
secondary
#A38397
accent
#6AA0BD
background
#F8F9F8
surface
#EFF2F0
border
#CACCCB
text
#0A0F0C
muted
#7C7E7D

Preview Lab

Preview with #507A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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