#508A4B#508A4B

#508A4B is a mid, moderate green. Relative luminance 0.204; OKLCH L 57.7% C 0.111 H 142.3°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#508A4B
RGBrgb(80, 138, 75)
HSLhsl(115, 30%, 42%)
HSVhsv(115, 46%, 54%)
CMYKcmyk(42%, 0%, 45.7%, 45.9%)
CIE-LABlab(52.27, -32.35, 27.87)
CIE-LCHlch(52.27, 42.70, 139.25°)
OKLaboklab(57.75% -0.0882 0.0682)
OKLCHoklch(57.75% 0.111 142.3)
XYZxyz(13.6661, 20.3896, 9.8707)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508A4B #854B8A
analogous
#708A4B #508A4B #4B8A66
triadic
#508A4B #4B508A #8A4B50
tetradic
#508A4B #4B708A #854B8A #8A664B
square
#508A4B #4B708A #854B8A #8A664B
split-complementary
#508A4B #664B8A #8A4B70
monochromatic
#223B20 #396235 #508A4B #6CAC66 #92C28E

Accessibility & contrast

On white

4.14
#508A4B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#508A4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508A4B
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508A4B#FFFFFF#000000##000000
##508A4B1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8046
Deuteranopia (green-blind)
#847B4F
Tritanopia (blue-blind)
#4A877B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #508a4b;
/* rgb */ color: rgb(80, 138, 75);
/* oklch */ color: oklch(57.7% 0.111 142.3);
Tailwind
colors: {
  custom: {
    50: '#84ac7e',
    500: '#508a4b',
    950: '#000000',
  },
}
SCSS
$custom: #508a4b;
$custom-light: #84ac7e;
$custom-dark: #000000;
JSON
{
  "hex": "#508a4b",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 75
  },
  "hsl": {
    "h": 115.238,
    "s": 29.577,
    "l": 41.765
  },
  "oklch": {
    "l": 0.57745,
    "c": 0.11146,
    "h": 142.3
  },
  "luminance": 0.2039
}

Semantic roles & 50–950 ramp

primary
#508A4B
secondary
#AA83AE
accent
#62C6BE
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B100A
muted
#7C7F7C

Preview Lab

Preview with #508A4B

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

Preview Lab → · Contrast checker → · Palette generator →

#508A4B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva