#508137#508137

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

Color values

HEX#508137
RGBrgb(80, 129, 55)
HSLhsl(100, 40%, 36%)
HSVhsv(100, 57%, 51%)
CMYKcmyk(38%, 0%, 57.4%, 49.4%)
CIE-LABlab(49.11, -30.87, 34.48)
CIE-LCHlch(49.11, 46.28, 131.83°)
OKLaboklab(55.08% -0.0852 0.0816)
OKLCHoklch(55.08% 0.118 136.3)
XYZxyz(11.8478, 17.6813, 6.4022)
Luminance0.1768 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508137 #683781
analogous
#758137 #508137 #378143
triadic
#508137 #375081 #813750
tetradic
#508137 #377581 #683781 #814337
square
#508137 #377581 #683781 #814337
split-complementary
#508137 #433781 #813775
monochromatic
#1B2B12 #355625 #508137 #6BAC49 #8CC270

Accessibility & contrast

On white

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

On black

4.54
#508137 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##508137#FFFFFF#000000##FFFFFF
##5081371.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857730
Deuteranopia (green-blind)
#7E733C
Tritanopia (blue-blind)
#4E7D71
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #508137;
/* rgb */ color: rgb(80, 129, 55);
/* oklch */ color: oklch(55.1% 0.118 136.3);
Tailwind
colors: {
  custom: {
    50: '#84a670',
    500: '#508137',
    950: '#000000',
  },
}
SCSS
$custom: #508137;
$custom-light: #84a670;
$custom-dark: #000000;
JSON
{
  "hex": "#508137",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 55
  },
  "hsl": {
    "h": 99.73,
    "s": 40.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.55076,
    "c": 0.11795,
    "h": 136.3
  },
  "luminance": 0.17682
}

Semantic roles & 50–950 ramp

primary
#508137
secondary
#9569AB
accent
#58D0A7
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B0F08
muted
#7C7F7B

Preview Lab

Preview with #508137

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

Preview Lab → · Contrast checker → · Palette generator →

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