#508A3D#508A3D

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

Color values

HEX#508A3D
RGBrgb(80, 138, 61)
HSLhsl(105, 39%, 39%)
HSVhsv(105, 56%, 54%)
CMYKcmyk(42%, 0%, 55.8%, 45.9%)
CIE-LABlab(52.08, -34.28, 34.97)
CIE-LCHlch(52.08, 48.97, 134.43°)
OKLaboklab(57.53% -0.0941 0.0831)
OKLCHoklch(57.53% 0.126 138.6)
XYZxyz(13.2386, 20.2186, 7.6190)
Luminance0.2022 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508A3D #773D8A
analogous
#778A3D #508A3D #3D8A51
triadic
#508A3D #3D508A #8A3D50
tetradic
#508A3D #3D778A #773D8A #8A513D
square
#508A3D #3D778A #773D8A #8A513D
split-complementary
#508A3D #513D8A #8A3D77
monochromatic
#1F3517 #37602A #508A3D #6AB252 #8EC57C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##508A3D#FFFFFF#000000##000000
##508A3D1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #508a3d;
/* rgb */ color: rgb(80, 138, 61);
/* oklch */ color: oklch(57.5% 0.126 138.6);
Tailwind
colors: {
  custom: {
    50: '#85ac75',
    500: '#508a3d',
    950: '#000000',
  },
}
SCSS
$custom: #508a3d;
$custom-light: #85ac75;
$custom-dark: #000000;
JSON
{
  "hex": "#508a3d",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 61
  },
  "hsl": {
    "h": 105.195,
    "s": 38.693,
    "l": 39.02
  },
  "oklch": {
    "l": 0.57527,
    "c": 0.1256,
    "h": 138.6
  },
  "luminance": 0.20219
}

Semantic roles & 50–950 ramp

primary
#508A3D
secondary
#A074AF
accent
#59CFB2
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #508A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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