#508762#508762

#508762 is a mid, moderate green. Relative luminance 0.199; OKLCH L 57.4% C 0.082 H 153.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#508762
RGBrgb(80, 135, 98)
HSLhsl(140, 26%, 42%)
HSVhsv(140, 41%, 53%)
CMYKcmyk(40.7%, 0%, 27.4%, 47.1%)
CIE-LABlab(51.74, -26.82, 14.31)
CIE-LCHlch(51.74, 30.40, 151.92°)
OKLaboklab(57.45% -0.0735 0.0364)
OKLCHoklch(57.45% 0.082 153.6)
XYZxyz(14.1760, 19.9144, 14.6498)
Luminance0.1991 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508762 #875075
analogous
#5A8750 #508762 #50877D
triadic
#508762 #625087 #876250
tetradic
#508762 #505A87 #875075 #877D50
square
#508762 #505A87 #875075 #877D50
split-complementary
#508762 #7D5087 #87505A
monochromatic
#223A2A #396146 #508762 #6CA880 #93BFA1

Accessibility & contrast

On white

4.21
#508762 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#508762 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508762
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508762#FFFFFF#000000##000000
##5087621.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#877F60
Deuteranopia (green-blind)
#7E7964
Tritanopia (blue-blind)
#45867D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #508762;
/* rgb */ color: rgb(80, 135, 98);
/* oklch */ color: oklch(57.4% 0.082 153.6);
Tailwind
colors: {
  custom: {
    50: '#84aa8e',
    500: '#508762',
    950: '#000000',
  },
}
SCSS
$custom: #508762;
$custom-light: #84aa8e;
$custom-dark: #000000;
JSON
{
  "hex": "#508762",
  "rgb": {
    "r": 80,
    "g": 135,
    "b": 98
  },
  "hsl": {
    "h": 139.636,
    "s": 25.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.57449,
    "c": 0.08208,
    "h": 153.6
  },
  "luminance": 0.19915
}

Semantic roles & 50–950 ramp

primary
#508762
secondary
#AC87A0
accent
#66A4C2
background
#F8FAF8
surface
#EFF4F0
border
#CACECB
text
#0B100C
muted
#7C7F7D

Preview Lab

Preview with #508762

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

Preview Lab → · Contrast checker → · Palette generator →

#508762 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva