#507A51#507A51

#507A51 is a mid, moderate green. Relative luminance 0.162; OKLCH L 53.7% C 0.079 H 144.9°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#507A51
RGBrgb(80, 122, 81)
HSLhsl(121, 21%, 40%)
HSVhsv(121, 34%, 48%)
CMYKcmyk(34.4%, 0%, 33.6%, 52.2%)
CIE-LABlab(47.26, -23.57, 17.96)
CIE-LCHlch(47.26, 29.63, 142.70°)
OKLaboklab(53.71% -0.0643 0.0451)
OKLCHoklch(53.71% 0.079 144.9)
XYZxyz(11.7525, 16.2181, 10.2941)
Luminance0.1622 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#507A51 #7A5079
analogous
#647A50 #507A51 #507A66
triadic
#507A51 #51507A #7A5150
tetradic
#507A51 #50647A #7A5079 #7A6650
square
#507A51 #50647A #7A5079 #7A6650
split-complementary
#507A51 #66507A #7A5064
monochromatic
#203020 #385538 #507A51 #6A9D6B #8FB590

Accessibility & contrast

On white

4.95
#507A51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#507A51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #507A51
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##507A51#FFFFFF#000000##FFFFFF
##507A511.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C734E
Deuteranopia (green-blind)
#756E53
Tritanopia (blue-blind)
#4B786F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #507a51;
/* rgb */ color: rgb(80, 122, 81);
/* oklch */ color: oklch(53.7% 0.079 144.9);
Tailwind
colors: {
  custom: {
    50: '#83a082',
    500: '#507a51',
    950: '#000000',
  },
}
SCSS
$custom: #507a51;
$custom-light: #83a082;
$custom-dark: #000000;
JSON
{
  "hex": "#507a51",
  "rgb": {
    "r": 80,
    "g": 122,
    "b": 81
  },
  "hsl": {
    "h": 121.429,
    "s": 20.792,
    "l": 39.608
  },
  "oklch": {
    "l": 0.53706,
    "c": 0.07856,
    "h": 144.9
  },
  "luminance": 0.16219
}

Semantic roles & 50–950 ramp

primary
#507A51
secondary
#A383A2
accent
#6ABBBD
background
#F8F9F7
surface
#EFF2EE
border
#CACCC9
text
#0B0F0A
muted
#7C7E7C

Preview Lab

Preview with #507A51

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

Preview Lab → · Contrast checker → · Palette generator →

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