#508A3A#508A3A

#508A3A is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.5% C 0.128 H 137.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#508A3A
RGBrgb(80, 138, 58)
HSLhsl(104, 41%, 38%)
HSVhsv(104, 58%, 54%)
CMYKcmyk(42%, 0%, 58%, 45.9%)
CIE-LABlab(52.05, -34.64, 36.43)
CIE-LCHlch(52.05, 50.27, 133.56°)
OKLaboklab(57.49% -0.0953 0.086)
OKLCHoklch(57.49% 0.128 137.9)
XYZxyz(13.1600, 20.1872, 7.2053)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508A3A #743A8A
analogous
#788A3A #508A3A #3A8A4C
triadic
#508A3A #3A508A #8A3A50
tetradic
#508A3A #3A788A #743A8A #8A4C3A
square
#508A3A #3A788A #743A8A #8A4C3A
split-complementary
#508A3A #4C3A8A #8A3A78
monochromatic
#1E3416 #375F28 #508A3A #69B44D #8EC678

Accessibility & contrast

On white

4.17
#508A3A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#508A3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508A3A
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508A3A#FFFFFF#000000##000000
##508A3A1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F32
Deuteranopia (green-blind)
#867A40
Tritanopia (blue-blind)
#4D8678
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #508a3a;
/* rgb */ color: rgb(80, 138, 58);
/* oklch */ color: oklch(57.5% 0.128 137.9);
Tailwind
colors: {
  custom: {
    50: '#85ac73',
    500: '#508a3a',
    950: '#000000',
  },
}
SCSS
$custom: #508a3a;
$custom-light: #85ac73;
$custom-dark: #000000;
JSON
{
  "hex": "#508a3a",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 58
  },
  "hsl": {
    "h": 103.5,
    "s": 40.816,
    "l": 38.431
  },
  "oklch": {
    "l": 0.57487,
    "c": 0.12842,
    "h": 137.9
  },
  "luminance": 0.20188
}

Semantic roles & 50–950 ramp

primary
#508A3A
secondary
#9E70B0
accent
#57D1AF
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #508A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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