#508136#508136

#508136 is a mid, moderate yellow-green. Relative luminance 0.177; OKLCH L 55.1% C 0.119 H 136.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#508136
RGBrgb(80, 129, 54)
HSLhsl(99, 41%, 36%)
HSVhsv(99, 58%, 51%)
CMYKcmyk(38%, 0%, 58.1%, 49.4%)
CIE-LABlab(49.10, -30.98, 34.97)
CIE-LCHlch(49.10, 46.72, 131.54°)
OKLaboklab(55.06% -0.0856 0.0825)
OKLCHoklch(55.06% 0.119 136)
XYZxyz(11.8241, 17.6718, 6.2773)
Luminance0.1767 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508136 #673681
analogous
#758136 #508136 #368141
triadic
#508136 #365081 #813650
tetradic
#508136 #367581 #673681 #814136
square
#508136 #367581 #673681 #814136
split-complementary
#508136 #413681 #813675
monochromatic
#1A2B12 #355624 #508136 #6BAC48 #8CC36F

Accessibility & contrast

On white

4.63
#508136 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#508136 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #508136
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508136#FFFFFF#000000##FFFFFF
##5081361.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85772F
Deuteranopia (green-blind)
#7E733B
Tritanopia (blue-blind)
#4F7D70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #508136;
/* rgb */ color: rgb(80, 129, 54);
/* oklch */ color: oklch(55.1% 0.119 136.0);
Tailwind
colors: {
  custom: {
    50: '#84a66f',
    500: '#508136',
    950: '#000000',
  },
}
SCSS
$custom: #508136;
$custom-light: #84a66f;
$custom-dark: #000000;
JSON
{
  "hex": "#508136",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 54
  },
  "hsl": {
    "h": 99.2,
    "s": 40.984,
    "l": 35.882
  },
  "oklch": {
    "l": 0.55062,
    "c": 0.1189,
    "h": 136
  },
  "luminance": 0.17672
}

Semantic roles & 50–950 ramp

primary
#508136
secondary
#9468AB
accent
#57D1A7
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #508136

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

Preview Lab → · Contrast checker → · Palette generator →

#508136 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva