#508A32#508A32

#508A32 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.4% C 0.135 H 136.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#508A32
RGBrgb(80, 138, 50)
HSLhsl(100, 47%, 37%)
HSVhsv(100, 64%, 54%)
CMYKcmyk(42%, 0%, 63.8%, 45.9%)
CIE-LABlab(51.96, -35.52, 40.17)
CIE-LCHlch(51.96, 53.62, 131.48°)
OKLaboklab(57.39% -0.0983 0.0933)
OKLCHoklch(57.39% 0.135 136.5)
XYZxyz(12.9721, 20.1120, 6.2155)
Luminance0.2011 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508A32 #6C328A
analogous
#7C8A32 #508A32 #328A40
triadic
#508A32 #32508A #8A3250
tetradic
#508A32 #327C8A #6C328A #8A4032
square
#508A32 #327C8A #6C328A #8A4032
split-complementary
#508A32 #40328A #8A327C
monochromatic
#1C3011 #365D22 #508A32 #6AB742 #8CCA6C

Accessibility & contrast

On white

4.18
#508A32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#508A32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508A32
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508A32#FFFFFF#000000##000000
##508A321.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F28
Deuteranopia (green-blind)
#877A39
Tritanopia (blue-blind)
#4E8577
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #508a32;
/* rgb */ color: rgb(80, 138, 50);
/* oklch */ color: oklch(57.4% 0.135 136.5);
Tailwind
colors: {
  custom: {
    50: '#85ac6e',
    500: '#508a32',
    950: '#000000',
  },
}
SCSS
$custom: #508a32;
$custom-light: #85ac6e;
$custom-dark: #000000;
JSON
{
  "hex": "#508a32",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 50
  },
  "hsl": {
    "h": 99.545,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.5739,
    "c": 0.13549,
    "h": 136.5
  },
  "luminance": 0.20113
}

Semantic roles & 50–950 ramp

primary
#508A32
secondary
#9866B2
accent
#51D6A9
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #508A32

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

Preview Lab → · Contrast checker → · Palette generator →

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