#508F38#508F38

#508F38 is a mid, vivid green. Relative luminance 0.216; OKLCH L 58.8% C 0.137 H 138.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#508F38
RGBrgb(80, 143, 56)
HSLhsl(103, 44%, 39%)
HSVhsv(103, 61%, 56%)
CMYKcmyk(44.1%, 0%, 60.8%, 43.9%)
CIE-LABlab(53.64, -37.09, 39.24)
CIE-LCHlch(53.64, 53.99, 133.39°)
OKLaboklab(58.78% -0.1021 0.0919)
OKLCHoklch(58.78% 0.137 138)
XYZxyz(13.8441, 21.6351, 7.1871)
Luminance0.2164 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508F38 #77388F
analogous
#7C8F38 #508F38 #388F4C
triadic
#508F38 #38508F #8F3850
tetradic
#508F38 #387C8F #77388F #8F4C38
square
#508F38 #387C8F #77388F #8F4C38
split-complementary
#508F38 #4C388F #8F387C
monochromatic
#1F3716 #376327 #508F38 #6AB94B #8ECA77

Accessibility & contrast

On white

3.94
#508F38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#508F38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508F38
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508F38#FFFFFF#000000##000000
##508F381.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93842F
Deuteranopia (green-blind)
#8B7E3F
Tritanopia (blue-blind)
#4C8A7C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #508f38;
/* rgb */ color: rgb(80, 143, 56);
/* oklch */ color: oklch(58.8% 0.137 138.0);
Tailwind
colors: {
  custom: {
    50: '#86b072',
    500: '#508f38',
    950: '#000000',
  },
}
SCSS
$custom: #508f38;
$custom-light: #86b072;
$custom-dark: #000000;
JSON
{
  "hex": "#508f38",
  "rgb": {
    "r": 80,
    "g": 143,
    "b": 56
  },
  "hsl": {
    "h": 103.448,
    "s": 43.719,
    "l": 39.02
  },
  "oklch": {
    "l": 0.58779,
    "c": 0.13741,
    "h": 138
  },
  "luminance": 0.21636
}

Semantic roles & 50–950 ramp

primary
#508F38
secondary
#A070B3
accent
#54D3B0
background
#F8FAF7
surface
#F0F5ED
border
#CBCFC8
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #508F38

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

Preview Lab → · Contrast checker → · Palette generator →

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