#508B32#508B32

#508B32 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.7% C 0.137 H 136.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#508B32
RGBrgb(80, 139, 50)
HSLhsl(100, 47%, 37%)
HSVhsv(100, 64%, 55%)
CMYKcmyk(42.4%, 0%, 64%, 45.5%)
CIE-LABlab(52.29, -35.96, 40.53)
CIE-LCHlch(52.29, 54.18, 131.58°)
OKLaboklab(57.66% -0.0995 0.094)
OKLCHoklch(57.66% 0.137 136.6)
XYZxyz(13.1162, 20.4003, 6.2635)
Luminance0.2040 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508B32 #6D328B
analogous
#7D8B32 #508B32 #328B40
triadic
#508B32 #32508B #8B3250
tetradic
#508B32 #327D8B #6D328B #8B4032
square
#508B32 #327D8B #6D328B #8B4032
split-complementary
#508B32 #40328B #8B327D
monochromatic
#1C3112 #365E22 #508B32 #6AB842 #8CCA6D

Accessibility & contrast

On white

4.13
#508B32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#508B32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508B32
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508B32#FFFFFF#000000##000000
##508B321.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#908028
Deuteranopia (green-blind)
#887B39
Tritanopia (blue-blind)
#4E8678
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #508b32;
/* rgb */ color: rgb(80, 139, 50);
/* oklch */ color: oklch(57.7% 0.137 136.6);
Tailwind
colors: {
  custom: {
    50: '#86ad6e',
    500: '#508b32',
    950: '#000000',
  },
}
SCSS
$custom: #508b32;
$custom-light: #86ad6e;
$custom-dark: #000000;
JSON
{
  "hex": "#508b32",
  "rgb": {
    "r": 80,
    "g": 139,
    "b": 50
  },
  "hsl": {
    "h": 99.775,
    "s": 47.09,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57655,
    "c": 0.13689,
    "h": 136.6
  },
  "luminance": 0.20401
}

Semantic roles & 50–950 ramp

primary
#508B32
secondary
#9967B2
accent
#51D7AA
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #508B32

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

Preview Lab → · Contrast checker → · Palette generator →

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