#508341#508341

#508341 is a mid, moderate green. Relative luminance 0.183; OKLCH L 55.7% C 0.111 H 138.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#508341
RGBrgb(80, 131, 65)
HSLhsl(106, 34%, 38%)
HSVhsv(106, 50%, 51%)
CMYKcmyk(38.9%, 0%, 50.4%, 48.6%)
CIE-LABlab(49.88, -30.53, 30.23)
CIE-LCHlch(49.88, 42.96, 135.28°)
OKLaboklab(55.75% -0.0837 0.0729)
OKLCHoklch(55.75% 0.111 138.9)
XYZxyz(12.3783, 18.3191, 7.8837)
Luminance0.1832 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508341 #744183
analogous
#718341 #508341 #418353
triadic
#508341 #415083 #834150
tetradic
#508341 #417183 #744183 #835341
square
#508341 #417183 #744183 #835341
split-complementary
#508341 #534183 #834171
monochromatic
#1E3118 #375A2D #508341 #69AB56 #8EBF7F

Accessibility & contrast

On white

4.50
#508341 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#508341 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508341
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508341#FFFFFF#000000##000000
##5083411.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#86793B
Deuteranopia (green-blind)
#7F7545
Tritanopia (blue-blind)
#4D7F74
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #508341;
/* rgb */ color: rgb(80, 131, 65);
/* oklch */ color: oklch(55.7% 0.111 138.9);
Tailwind
colors: {
  custom: {
    50: '#84a777',
    500: '#508341',
    950: '#000000',
  },
}
SCSS
$custom: #508341;
$custom-light: #84a777;
$custom-dark: #000000;
JSON
{
  "hex": "#508341",
  "rgb": {
    "r": 80,
    "g": 131,
    "b": 65
  },
  "hsl": {
    "h": 106.364,
    "s": 33.673,
    "l": 38.431
  },
  "oklch": {
    "l": 0.55748,
    "c": 0.11099,
    "h": 138.9
  },
  "luminance": 0.1832
}

Semantic roles & 50–950 ramp

primary
#508341
secondary
#9E76AA
accent
#5ECAB1
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B0F09
muted
#7C7F7B

Preview Lab

Preview with #508341

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

Preview Lab → · Contrast checker → · Palette generator →

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