#507F4E#507F4E

#507F4E is a mid, moderate green. Relative luminance 0.174; OKLCH L 54.9% C 0.090 H 143.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#507F4E
RGBrgb(80, 127, 78)
HSLhsl(118, 24%, 40%)
HSVhsv(118, 39%, 50%)
CMYKcmyk(37%, 0%, 38.6%, 50.2%)
CIE-LABlab(48.80, -26.60, 21.72)
CIE-LCHlch(48.80, 34.34, 140.77°)
OKLaboklab(54.94% -0.0725 0.054)
OKLCHoklch(54.94% 0.09 143.3)
XYZxyz(12.2723, 17.4337, 9.9246)
Luminance0.1743 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507F4E #7D4E7F
analogous
#687F4E #507F4E #4E7F64
triadic
#507F4E #4E507F #7F4E50
tetradic
#507F4E #4E687F #7D4E7F #7F644E
square
#507F4E #4E687F #7D4E7F #7F644E
split-complementary
#507F4E #644E7F #7F4E68
monochromatic
#20331F #385937 #507F4E #6AA268 #90BA8E

Accessibility & contrast

On white

4.68
#507F4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#507F4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507F4E
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507F4E#FFFFFF#000000##FFFFFF
##507F4E1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81774B
Deuteranopia (green-blind)
#7A7251
Tritanopia (blue-blind)
#4B7C73
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #507f4e;
/* rgb */ color: rgb(80, 127, 78);
/* oklch */ color: oklch(54.9% 0.090 143.3);
Tailwind
colors: {
  custom: {
    50: '#83a480',
    500: '#507f4e',
    950: '#000000',
  },
}
SCSS
$custom: #507f4e;
$custom-light: #83a480;
$custom-dark: #000000;
JSON
{
  "hex": "#507f4e",
  "rgb": {
    "r": 80,
    "g": 127,
    "b": 78
  },
  "hsl": {
    "h": 117.551,
    "s": 23.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.54937,
    "c": 0.09042,
    "h": 143.3
  },
  "luminance": 0.17434
}

Semantic roles & 50–950 ramp

primary
#507F4E
secondary
#A583A6
accent
#67C0BD
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B0F0A
muted
#7C7F7C

Preview Lab

Preview with #507F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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