#508A3F#508A3F

#508A3F is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.6% C 0.124 H 139.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#508A3F
RGBrgb(80, 138, 63)
HSLhsl(106, 37%, 39%)
HSVhsv(106, 54%, 54%)
CMYKcmyk(42%, 0%, 54.3%, 45.9%)
CIE-LABlab(52.11, -34.03, 33.98)
CIE-LCHlch(52.11, 48.09, 135.04°)
OKLaboklab(57.56% -0.0933 0.0811)
OKLCHoklch(57.56% 0.124 139)
XYZxyz(13.2935, 20.2406, 7.9080)
Luminance0.2024 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508A3F #793F8A
analogous
#768A3F #508A3F #3F8A54
triadic
#508A3F #3F508A #8A3F50
tetradic
#508A3F #3F768A #793F8A #8A543F
square
#508A3F #3F768A #793F8A #8A543F
split-complementary
#508A3F #543F8A #8A3F76
monochromatic
#1F3619 #38602C #508A3F #6AB155 #8FC57F

Accessibility & contrast

On white

4.16
#508A3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#508A3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508A3F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508A3F#FFFFFF#000000##000000
##508A3F1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F38
Deuteranopia (green-blind)
#867A44
Tritanopia (blue-blind)
#4C8679
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #508a3f;
/* rgb */ color: rgb(80, 138, 63);
/* oklch */ color: oklch(57.6% 0.124 139.0);
Tailwind
colors: {
  custom: {
    50: '#85ac76',
    500: '#508a3f',
    950: '#000000',
  },
}
SCSS
$custom: #508a3f;
$custom-light: #85ac76;
$custom-dark: #000000;
JSON
{
  "hex": "#508a3f",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 63
  },
  "hsl": {
    "h": 106.4,
    "s": 37.313,
    "l": 39.412
  },
  "oklch": {
    "l": 0.57555,
    "c": 0.12367,
    "h": 139
  },
  "luminance": 0.20241
}

Semantic roles & 50–950 ramp

primary
#508A3F
secondary
#A276AF
accent
#5BCDB3
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #508A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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