#507A4C#507A4C

#507A4C is a mid, moderate green. Relative luminance 0.161; OKLCH L 53.6% C 0.084 H 142.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#507A4C
RGBrgb(80, 122, 76)
HSLhsl(115, 23%, 39%)
HSVhsv(115, 38%, 48%)
CMYKcmyk(34.4%, 0%, 37.7%, 52.2%)
CIE-LABlab(47.17, -24.45, 20.69)
CIE-LCHlch(47.17, 32.03, 139.76°)
OKLaboklab(53.6% -0.0667 0.0515)
OKLCHoklch(53.6% 0.084 142.3)
XYZxyz(11.5718, 16.1458, 9.3428)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507A4C #764C7A
analogous
#677A4C #507A4C #4C7A5F
triadic
#507A4C #4C507A #7A4C50
tetradic
#507A4C #4C677A #764C7A #7A5F4C
square
#507A4C #4C677A #764C7A #7A5F4C
split-complementary
#507A4C #5F4C7A #7A4C67
monochromatic
#1F2F1D #375435 #507A4C #6A9F64 #8EB68A

Accessibility & contrast

On white

4.97
#507A4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #507A4C
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507A4C#FFFFFF#000000##FFFFFF
##507A4C1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7249
Deuteranopia (green-blind)
#766E4F
Tritanopia (blue-blind)
#4C776E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #507a4c;
/* rgb */ color: rgb(80, 122, 76);
/* oklch */ color: oklch(53.6% 0.084 142.3);
Tailwind
colors: {
  custom: {
    50: '#83a07e',
    500: '#507a4c',
    950: '#000000',
  },
}
SCSS
$custom: #507a4c;
$custom-light: #83a07e;
$custom-dark: #000000;
JSON
{
  "hex": "#507a4c",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 76
  },
  "hsl": {
    "h": 114.783,
    "s": 23.232,
    "l": 38.824
  },
  "oklch": {
    "l": 0.53599,
    "c": 0.08428,
    "h": 142.3
  },
  "luminance": 0.16146
}

Semantic roles & 50–950 ramp

primary
#507A4C
secondary
#A07FA3
accent
#68C0B8
background
#F8F9F7
surface
#EFF2EE
border
#CACCC9
text
#0B0F0A
muted
#7C7E7C

Preview Lab

Preview with #507A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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