#508339#508339

#508339 is a mid, moderate green. Relative luminance 0.182; OKLCH L 55.6% C 0.119 H 137.0°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#508339
RGBrgb(80, 131, 57)
HSLhsl(101, 39%, 37%)
HSVhsv(101, 56%, 51%)
CMYKcmyk(38.9%, 0%, 56.5%, 48.6%)
CIE-LABlab(49.78, -31.56, 34.26)
CIE-LCHlch(49.78, 46.58, 132.65°)
OKLaboklab(55.63% -0.087 0.0812)
OKLCHoklch(55.63% 0.119 137)
XYZxyz(12.1627, 18.2329, 6.7485)
Luminance0.1823 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508339 #6C3983
analogous
#758339 #508339 #398347
triadic
#508339 #395083 #833950
tetradic
#508339 #397583 #6C3983 #834739
square
#508339 #397583 #6C3983 #834739
split-complementary
#508339 #473983 #833975
monochromatic
#1C2E14 #365826 #508339 #6AAE4C #8CC274

Accessibility & contrast

On white

4.52
#508339 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#508339 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508339
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508339#FFFFFF#000000##000000
##5083391.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#877932
Deuteranopia (green-blind)
#80753E
Tritanopia (blue-blind)
#4E7F72
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #508339;
/* rgb */ color: rgb(80, 131, 57);
/* oklch */ color: oklch(55.6% 0.119 137.0);
Tailwind
colors: {
  custom: {
    50: '#84a772',
    500: '#508339',
    950: '#000000',
  },
}
SCSS
$custom: #508339;
$custom-light: #84a772;
$custom-dark: #000000;
JSON
{
  "hex": "#508339",
  "rgb": {
    "r": 80,
    "g": 131,
    "b": 57
  },
  "hsl": {
    "h": 101.351,
    "s": 39.362,
    "l": 36.863
  },
  "oklch": {
    "l": 0.5563,
    "c": 0.11902,
    "h": 137
  },
  "luminance": 0.18233
}

Semantic roles & 50–950 ramp

primary
#508339
secondary
#986CAC
accent
#59CFAA
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B0F08
muted
#7C7F7B

Preview Lab

Preview with #508339

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

Preview Lab → · Contrast checker → · Palette generator →

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