#50874F#50874F

#50874F is a mid, moderate green. Relative luminance 0.196; OKLCH L 57.0% C 0.102 H 143.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#50874F
RGBrgb(80, 135, 79)
HSLhsl(119, 26%, 42%)
HSVhsv(119, 41%, 53%)
CMYKcmyk(40.7%, 0%, 41.5%, 47.1%)
CIE-LABlab(51.38, -30.31, 24.53)
CIE-LCHlch(51.38, 38.99, 141.01°)
OKLaboklab(57.04% -0.0826 0.0606)
OKLCHoklch(57.04% 0.102 143.7)
XYZxyz(13.3829, 19.5972, 10.4731)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50874F #864F87
analogous
#6C874F #50874F #4F876A
triadic
#50874F #4F5087 #874F50
tetradic
#50874F #4F6C87 #864F87 #876A4F
square
#50874F #4F6C87 #864F87 #876A4F
split-complementary
#50874F #6A4F87 #874F6C
monochromatic
#223A22 #396038 #50874F #6CA86B #92BF91

Accessibility & contrast

On white

4.27
#50874F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#50874F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #50874F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50874F#FFFFFF#000000##000000
##50874F1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897E4B
Deuteranopia (green-blind)
#817852
Tritanopia (blue-blind)
#4A8479
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #50874f;
/* rgb */ color: rgb(80, 135, 79);
/* oklch */ color: oklch(57.0% 0.102 143.7);
Tailwind
colors: {
  custom: {
    50: '#84aa81',
    500: '#50874f',
    950: '#000000',
  },
}
SCSS
$custom: #50874f;
$custom-light: #84aa81;
$custom-dark: #000000;
JSON
{
  "hex": "#50874f",
  "rgb": {
    "r": 80,
    "g": 135,
    "b": 79
  },
  "hsl": {
    "h": 118.929,
    "s": 26.168,
    "l": 41.961
  },
  "oklch": {
    "l": 0.57036,
    "c": 0.10243,
    "h": 143.7
  },
  "luminance": 0.19598
}

Semantic roles & 50–950 ramp

primary
#50874F
secondary
#AB86AC
accent
#65C3C1
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B100A
muted
#7C7F7C

Preview Lab

Preview with #50874F

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

Preview Lab → · Contrast checker → · Palette generator →

#50874F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva