#507B4E#507B4E

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

Color values

HEX#507B4E
RGBrgb(80, 123, 78)
HSLhsl(117, 22%, 39%)
HSVhsv(117, 37%, 48%)
CMYKcmyk(35%, 0%, 36.6%, 51.8%)
CIE-LABlab(47.52, -24.61, 20.03)
CIE-LCHlch(47.52, 31.73, 140.86°)
OKLaboklab(53.9% -0.0671 0.05)
OKLCHoklch(53.9% 0.084 143.3)
XYZxyz(11.7659, 16.4209, 9.7559)
Luminance0.1642 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507B4E #794E7B
analogous
#677B4E #507B4E #4E7B63
triadic
#507B4E #4E507B #7B4E50
tetradic
#507B4E #4E677B #794E7B #7B634E
square
#507B4E #4E677B #794E7B #7B634E
split-complementary
#507B4E #634E7B #7B4E67
monochromatic
#1F301F #385636 #507B4E #6A9F67 #8FB78D

Accessibility & contrast

On white

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

On black

4.28
#507B4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##507B4E#FFFFFF#000000##FFFFFF
##507B4E1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D734B
Deuteranopia (green-blind)
#766F51
Tritanopia (blue-blind)
#4C786F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #507b4e;
/* rgb */ color: rgb(80, 123, 78);
/* oklch */ color: oklch(53.9% 0.084 143.3);
Tailwind
colors: {
  custom: {
    50: '#83a180',
    500: '#507b4e',
    950: '#000000',
  },
}
SCSS
$custom: #507b4e;
$custom-light: #83a180;
$custom-dark: #000000;
JSON
{
  "hex": "#507b4e",
  "rgb": {
    "r": 80,
    "g": 123,
    "b": 78
  },
  "hsl": {
    "h": 117.333,
    "s": 22.388,
    "l": 39.412
  },
  "oklch": {
    "l": 0.539,
    "c": 0.08369,
    "h": 143.3
  },
  "luminance": 0.16421
}

Semantic roles & 50–950 ramp

primary
#507B4E
secondary
#A281A3
accent
#69BFBB
background
#F8F9F7
surface
#EFF2EE
border
#CACCC9
text
#0B0F0A
muted
#7C7E7C

Preview Lab

Preview with #507B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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