#508B38#508B38

#508B38 is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.7% C 0.132 H 137.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#508B38
RGBrgb(80, 139, 56)
HSLhsl(103, 43%, 38%)
HSVhsv(103, 60%, 55%)
CMYKcmyk(42.4%, 0%, 59.7%, 45.5%)
CIE-LABlab(52.35, -35.32, 37.76)
CIE-LCHlch(52.35, 51.70, 133.09°)
OKLaboklab(57.73% -0.0973 0.0887)
OKLCHoklch(57.73% 0.132 137.6)
XYZxyz(13.2543, 20.4555, 6.9905)
Luminance0.2046 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508B38 #73388B
analogous
#798B38 #508B38 #388B4A
triadic
#508B38 #38508B #8B3850
tetradic
#508B38 #38798B #73388B #8B4A38
square
#508B38 #38798B #73388B #8B4A38
split-complementary
#508B38 #4A388B #8B3879
monochromatic
#1E3415 #375F26 #508B38 #69B64A #8DC876

Accessibility & contrast

On white

4.12
#508B38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#508B38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508B38
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508B38#FFFFFF#000000##000000
##508B381.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802F
Deuteranopia (green-blind)
#877B3E
Tritanopia (blue-blind)
#4D8679
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #508b38;
/* rgb */ color: rgb(80, 139, 56);
/* oklch */ color: oklch(57.7% 0.132 137.6);
Tailwind
colors: {
  custom: {
    50: '#85ad71',
    500: '#508b38',
    950: '#000000',
  },
}
SCSS
$custom: #508b38;
$custom-light: #85ad71;
$custom-dark: #000000;
JSON
{
  "hex": "#508b38",
  "rgb": {
    "r": 80,
    "g": 139,
    "b": 56
  },
  "hsl": {
    "h": 102.651,
    "s": 42.564,
    "l": 38.235
  },
  "oklch": {
    "l": 0.57725,
    "c": 0.1317,
    "h": 137.6
  },
  "luminance": 0.20456
}

Semantic roles & 50–950 ramp

primary
#508B38
secondary
#9D6EB1
accent
#55D2AE
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #508B38

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

Preview Lab → · Contrast checker → · Palette generator →

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