#508241#508241

#508241 is a mid, moderate green. Relative luminance 0.181; OKLCH L 55.5% C 0.109 H 138.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#508241
RGBrgb(80, 130, 65)
HSLhsl(106, 33%, 38%)
HSVhsv(106, 50%, 51%)
CMYKcmyk(38.5%, 0%, 50%, 49%)
CIE-LABlab(49.56, -30.06, 29.83)
CIE-LCHlch(49.56, 42.35, 135.22°)
OKLaboklab(55.48% -0.0824 0.0721)
OKLCHoklch(55.48% 0.109 138.8)
XYZxyz(12.2446, 18.0518, 7.8392)
Luminance0.1805 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508241 #734182
analogous
#708241 #508241 #418252
triadic
#508241 #415082 #824150
tetradic
#508241 #417082 #734182 #825241
square
#508241 #417082 #734182 #825241
split-complementary
#508241 #524182 #824170
monochromatic
#1E3018 #37592D #508241 #69AA56 #8DBF7F

Accessibility & contrast

On white

4.55
#508241 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#508241 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508241
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508241#FFFFFF#000000##000000
##5082411.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#85793C
Deuteranopia (green-blind)
#7E7445
Tritanopia (blue-blind)
#4D7E73
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #508241;
/* rgb */ color: rgb(80, 130, 65);
/* oklch */ color: oklch(55.5% 0.109 138.8);
Tailwind
colors: {
  custom: {
    50: '#84a677',
    500: '#508241',
    950: '#000000',
  },
}
SCSS
$custom: #508241;
$custom-light: #84a677;
$custom-dark: #000000;
JSON
{
  "hex": "#508241",
  "rgb": {
    "r": 80,
    "g": 130,
    "b": 65
  },
  "hsl": {
    "h": 106.154,
    "s": 33.333,
    "l": 38.235
  },
  "oklch": {
    "l": 0.55485,
    "c": 0.10943,
    "h": 138.8
  },
  "luminance": 0.18052
}

Semantic roles & 50–950 ramp

primary
#508241
secondary
#9D75A9
accent
#5EC9B1
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B0F09
muted
#7C7F7B

Preview Lab

Preview with #508241

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

Preview Lab → · Contrast checker → · Palette generator →

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