#507C4E#507C4E

#507C4E is a mid, moderate green. Relative luminance 0.167; OKLCH L 54.2% C 0.085 H 143.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#507C4E
RGBrgb(80, 124, 78)
HSLhsl(117, 23%, 40%)
HSVhsv(117, 37%, 49%)
CMYKcmyk(35.5%, 0%, 37.1%, 51.4%)
CIE-LABlab(47.84, -25.11, 20.45)
CIE-LCHlch(47.84, 32.39, 140.84°)
OKLaboklab(54.16% -0.0685 0.051)
OKLCHoklch(54.16% 0.085 143.3)
XYZxyz(11.8906, 16.6703, 9.7974)
Luminance0.1667 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507C4E #7A4E7C
analogous
#677C4E #507C4E #4E7C63
triadic
#507C4E #4E507C #7C4E50
tetradic
#507C4E #4E677C #7A4E7C #7C634E
square
#507C4E #4E677C #7A4E7C #7C634E
split-complementary
#507C4E #634E7C #7C4E67
monochromatic
#20311F #385636 #507C4E #6AA067 #8FB78D

Accessibility & contrast

On white

4.85
#507C4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#507C4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507C4E
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507C4E#FFFFFF#000000##FFFFFF
##507C4E1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E744B
Deuteranopia (green-blind)
#777051
Tritanopia (blue-blind)
#4C7970
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #507c4e;
/* rgb */ color: rgb(80, 124, 78);
/* oklch */ color: oklch(54.2% 0.085 143.3);
Tailwind
colors: {
  custom: {
    50: '#83a280',
    500: '#507c4e',
    950: '#000000',
  },
}
SCSS
$custom: #507c4e;
$custom-light: #83a280;
$custom-dark: #000000;
JSON
{
  "hex": "#507c4e",
  "rgb": {
    "r": 80,
    "g": 124,
    "b": 78
  },
  "hsl": {
    "h": 117.391,
    "s": 22.772,
    "l": 39.608
  },
  "oklch": {
    "l": 0.54159,
    "c": 0.08539,
    "h": 143.3
  },
  "luminance": 0.16671
}

Semantic roles & 50–950 ramp

primary
#507C4E
secondary
#A382A4
accent
#69BFBB
background
#F8FAF7
surface
#EFF3EE
border
#CACDC9
text
#0B0F0A
muted
#7C7F7C

Preview Lab

Preview with #507C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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