#507D4E#507D4E

#507D4E is a mid, moderate green. Relative luminance 0.169; OKLCH L 54.4% C 0.087 H 143.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#507D4E
RGBrgb(80, 125, 78)
HSLhsl(117, 23%, 40%)
HSVhsv(117, 38%, 49%)
CMYKcmyk(36%, 0%, 37.6%, 51%)
CIE-LABlab(48.16, -25.61, 20.87)
CIE-LCHlch(48.16, 33.04, 140.82°)
OKLaboklab(54.42% -0.0698 0.052)
OKLCHoklch(54.42% 0.087 143.3)
XYZxyz(12.0165, 16.9222, 9.8394)
Luminance0.1692 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507D4E #7B4E7D
analogous
#687D4E #507D4E #4E7D64
triadic
#507D4E #4E507D #7D4E50
tetradic
#507D4E #4E687D #7B4E7D #7D644E
square
#507D4E #4E687D #7B4E7D #7D644E
split-complementary
#507D4E #644E7D #7D4E68
monochromatic
#20321F #385736 #507D4E #6AA168 #8FB88D

Accessibility & contrast

On white

4.79
#507D4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#507D4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507D4E
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507D4E#FFFFFF#000000##FFFFFF
##507D4E1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F754B
Deuteranopia (green-blind)
#787151
Tritanopia (blue-blind)
#4C7A71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #507d4e;
/* rgb */ color: rgb(80, 125, 78);
/* oklch */ color: oklch(54.4% 0.087 143.3);
Tailwind
colors: {
  custom: {
    50: '#83a380',
    500: '#507d4e',
    950: '#000000',
  },
}
SCSS
$custom: #507d4e;
$custom-light: #83a380;
$custom-dark: #000000;
JSON
{
  "hex": "#507d4e",
  "rgb": {
    "r": 80,
    "g": 125,
    "b": 78
  },
  "hsl": {
    "h": 117.447,
    "s": 23.153,
    "l": 39.804
  },
  "oklch": {
    "l": 0.54419,
    "c": 0.08708,
    "h": 143.3
  },
  "luminance": 0.16923
}

Semantic roles & 50–950 ramp

primary
#507D4E
secondary
#A382A5
accent
#68C0BC
background
#F8FAF7
surface
#EFF3EE
border
#CACDC9
text
#0B0F0A
muted
#7C7F7C

Preview Lab

Preview with #507D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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