#507A5E#507A5E

#507A5E is a mid, moderate green. Relative luminance 0.164; OKLCH L 54.0% C 0.064 H 154.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#507A5E
RGBrgb(80, 122, 94)
HSLhsl(140, 21%, 40%)
HSVhsv(140, 34%, 48%)
CMYKcmyk(34.4%, 0%, 23%, 52.2%)
CIE-LABlab(47.54, -21.04, 10.78)
CIE-LCHlch(47.54, 23.64, 152.87°)
OKLaboklab(54.02% -0.058 0.0276)
OKLCHoklch(54.02% 0.064 154.5)
XYZxyz(12.2875, 16.4321, 13.1118)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507A5E #7A506C
analogous
#577A50 #507A5E #507A73
triadic
#507A5E #5E507A #7A5E50
tetradic
#507A5E #50577A #7A506C #7A7350
square
#507A5E #50577A #7A506C #7A7350
split-complementary
#507A5E #73507A #7A5057
monochromatic
#203025 #385542 #507A5E #6A9D7B #8FB59C

Accessibility & contrast

On white

4.90
#507A5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#507A5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507A5E
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507A5E#FFFFFF#000000##FFFFFF
##507A5E1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A745C
Deuteranopia (green-blind)
#736F60
Tritanopia (blue-blind)
#497972
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #507a5e;
/* rgb */ color: rgb(80, 122, 94);
/* oklch */ color: oklch(54.0% 0.064 154.5);
Tailwind
colors: {
  custom: {
    50: '#82a08b',
    500: '#507a5e',
    950: '#000000',
  },
}
SCSS
$custom: #507a5e;
$custom-light: #82a08b;
$custom-dark: #000000;
JSON
{
  "hex": "#507a5e",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 94
  },
  "hsl": {
    "h": 140,
    "s": 20.792,
    "l": 39.608
  },
  "oklch": {
    "l": 0.54021,
    "c": 0.06426,
    "h": 154.5
  },
  "luminance": 0.16433
}

Semantic roles & 50–950 ramp

primary
#507A5E
secondary
#A38398
accent
#6AA2BD
background
#F8F9F8
surface
#EFF2F0
border
#CACCCB
text
#0A0F0C
muted
#7C7E7D

Preview Lab

Preview with #507A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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