#508A38#508A38

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

Color values

HEX#508A38
RGBrgb(80, 138, 56)
HSLhsl(102, 42%, 38%)
HSVhsv(102, 59%, 54%)
CMYKcmyk(42%, 0%, 59.4%, 45.9%)
CIE-LABlab(52.03, -34.87, 37.39)
CIE-LCHlch(52.03, 51.13, 133.01°)
OKLaboklab(57.46% -0.0961 0.0879)
OKLCHoklch(57.46% 0.13 137.5)
XYZxyz(13.1102, 20.1672, 6.9425)
Luminance0.2017 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508A38 #72388A
analogous
#798A38 #508A38 #388A49
triadic
#508A38 #38508A #8A3850
tetradic
#508A38 #38798A #72388A #8A4938
square
#508A38 #38798A #72388A #8A4938
split-complementary
#508A38 #49388A #8A3879
monochromatic
#1E3315 #375E26 #508A38 #69B54A #8DC775

Accessibility & contrast

On white

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

On black

5.03
#508A38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508A38
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508A38#FFFFFF#000000##000000
##508A381.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F30
Deuteranopia (green-blind)
#867A3E
Tritanopia (blue-blind)
#4D8578
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #508a38;
/* rgb */ color: rgb(80, 138, 56);
/* oklch */ color: oklch(57.5% 0.130 137.5);
Tailwind
colors: {
  custom: {
    50: '#85ac71',
    500: '#508a38',
    950: '#000000',
  },
}
SCSS
$custom: #508a38;
$custom-light: #85ac71;
$custom-dark: #000000;
JSON
{
  "hex": "#508a38",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 56
  },
  "hsl": {
    "h": 102.439,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.57461,
    "c": 0.13025,
    "h": 137.5
  },
  "luminance": 0.20168
}

Semantic roles & 50–950 ramp

primary
#508A38
secondary
#9D6EB0
accent
#56D2AE
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #508A38

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

Preview Lab → · Contrast checker → · Palette generator →

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