#508A3E#508A3E

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

Color values

HEX#508A3E
RGBrgb(80, 138, 62)
HSLhsl(106, 38%, 39%)
HSVhsv(106, 55%, 54%)
CMYKcmyk(42%, 0%, 55.1%, 45.9%)
CIE-LABlab(52.10, -34.16, 34.48)
CIE-LCHlch(52.10, 48.53, 134.73°)
OKLaboklab(57.54% -0.0937 0.0821)
OKLCHoklch(57.54% 0.125 138.8)
XYZxyz(13.2658, 20.2295, 7.7622)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508A3E #783E8A
analogous
#768A3E #508A3E #3E8A52
triadic
#508A3E #3E508A #8A3E50
tetradic
#508A3E #3E768A #783E8A #8A523E
square
#508A3E #3E768A #783E8A #8A523E
split-complementary
#508A3E #523E8A #8A3E76
monochromatic
#1F3618 #38602B #508A3E #6AB253 #8EC57E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##508A3E#FFFFFF#000000##000000
##508A3E1.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)
#8E7F37
Deuteranopia (green-blind)
#867A43
Tritanopia (blue-blind)
#4C8679
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #508a3e;
/* rgb */ color: rgb(80, 138, 62);
/* oklch */ color: oklch(57.5% 0.125 138.8);
Tailwind
colors: {
  custom: {
    50: '#85ac75',
    500: '#508a3e',
    950: '#000000',
  },
}
SCSS
$custom: #508a3e;
$custom-light: #85ac75;
$custom-dark: #000000;
JSON
{
  "hex": "#508a3e",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 62
  },
  "hsl": {
    "h": 105.789,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.57541,
    "c": 0.12464,
    "h": 138.8
  },
  "luminance": 0.2023
}

Semantic roles & 50–950 ramp

primary
#508A3E
secondary
#A175AF
accent
#5ACEB2
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #508A3E

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

Preview Lab → · Contrast checker → · Palette generator →

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