#507A4E#507A4E

#507A4E is a mid, moderate green. Relative luminance 0.162; OKLCH L 53.6% C 0.082 H 143.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#507A4E
RGBrgb(80, 122, 78)
HSLhsl(117, 22%, 39%)
HSVhsv(117, 36%, 48%)
CMYKcmyk(34.4%, 0%, 36.1%, 52.2%)
CIE-LABlab(47.20, -24.11, 19.60)
CIE-LCHlch(47.20, 31.07, 140.89°)
OKLaboklab(53.64% -0.0657 0.049)
OKLCHoklch(53.64% 0.082 143.3)
XYZxyz(11.6425, 16.1741, 9.7147)
Luminance0.1618 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507A4E #784E7A
analogous
#667A4E #507A4E #4E7A62
triadic
#507A4E #4E507A #7A4E50
tetradic
#507A4E #4E667A #784E7A #7A624E
square
#507A4E #4E667A #784E7A #7A624E
split-complementary
#507A4E #624E7A #7A4E66
monochromatic
#1F2F1E #385536 #507A4E #6A9E67 #8EB68D

Accessibility & contrast

On white

4.96
#507A4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#507A4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507A4E
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507A4E#FFFFFF#000000##FFFFFF
##507A4E1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C724B
Deuteranopia (green-blind)
#766E50
Tritanopia (blue-blind)
#4C776F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #507a4e;
/* rgb */ color: rgb(80, 122, 78);
/* oklch */ color: oklch(53.6% 0.082 143.3);
Tailwind
colors: {
  custom: {
    50: '#83a080',
    500: '#507a4e',
    950: '#000000',
  },
}
SCSS
$custom: #507a4e;
$custom-light: #83a080;
$custom-dark: #000000;
JSON
{
  "hex": "#507a4e",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 78
  },
  "hsl": {
    "h": 117.273,
    "s": 22,
    "l": 39.216
  },
  "oklch": {
    "l": 0.53641,
    "c": 0.08198,
    "h": 143.3
  },
  "luminance": 0.16175
}

Semantic roles & 50–950 ramp

primary
#507A4E
secondary
#A181A3
accent
#69BFBB
background
#F8F9F7
surface
#EFF2EE
border
#CACCC9
text
#0B0F0A
muted
#7C7E7C

Preview Lab

Preview with #507A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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