#508C36#508C36

#508C36 is a mid, vivid green. Relative luminance 0.207; OKLCH L 58.0% C 0.135 H 137.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#508C36
RGBrgb(80, 140, 54)
HSLhsl(102, 44%, 38%)
HSVhsv(102, 61%, 55%)
CMYKcmyk(42.9%, 0%, 61.4%, 45.1%)
CIE-LABlab(52.65, -35.99, 39.06)
CIE-LCHlch(52.65, 53.11, 132.65°)
OKLaboklab(57.96% -0.0993 0.0913)
OKLCHoklch(57.96% 0.135 137.4)
XYZxyz(13.3518, 20.7272, 6.7865)
Luminance0.2073 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508C36 #72368C
analogous
#7B8C36 #508C36 #368C47
triadic
#508C36 #36508C #8C3650
tetradic
#508C36 #367B8C #72368C #8C4736
square
#508C36 #367B8C #72368C #8C4736
split-complementary
#508C36 #47368C #8C367B
monochromatic
#1E3414 #376025 #508C36 #69B847 #8DC973

Accessibility & contrast

On white

4.08
#508C36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#508C36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508C36
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508C36#FFFFFF#000000##000000
##508C361.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#90812D
Deuteranopia (green-blind)
#887C3D
Tritanopia (blue-blind)
#4D8779
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #508c36;
/* rgb */ color: rgb(80, 140, 54);
/* oklch */ color: oklch(58.0% 0.135 137.4);
Tailwind
colors: {
  custom: {
    50: '#86ae70',
    500: '#508c36',
    950: '#000000',
  },
}
SCSS
$custom: #508c36;
$custom-light: #86ae70;
$custom-dark: #000000;
JSON
{
  "hex": "#508c36",
  "rgb": {
    "r": 80,
    "g": 140,
    "b": 54
  },
  "hsl": {
    "h": 101.86,
    "s": 44.33,
    "l": 38.039
  },
  "oklch": {
    "l": 0.57964,
    "c": 0.1349,
    "h": 137.4
  },
  "luminance": 0.20728
}

Semantic roles & 50–950 ramp

primary
#508C36
secondary
#9D6CB2
accent
#54D4AD
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #508C36

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

Preview Lab → · Contrast checker → · Palette generator →

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