#508237#508237

#508237 is a mid, moderate green. Relative luminance 0.179; OKLCH L 55.3% C 0.119 H 136.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#508237
RGBrgb(80, 130, 55)
HSLhsl(100, 41%, 36%)
HSVhsv(100, 58%, 51%)
CMYKcmyk(38.5%, 0%, 57.7%, 49%)
CIE-LABlab(49.43, -31.33, 34.86)
CIE-LCHlch(49.43, 46.87, 131.95°)
OKLaboklab(55.34% -0.0865 0.0824)
OKLCHoklch(55.34% 0.119 136.4)
XYZxyz(11.9802, 17.9460, 6.4464)
Luminance0.1795 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508237 #693782
analogous
#768237 #508237 #378244
triadic
#508237 #375082 #823750
tetradic
#508237 #377682 #693782 #824437
square
#508237 #377682 #693782 #824437
split-complementary
#508237 #443782 #823776
monochromatic
#1B2C13 #365725 #508237 #6AAD49 #8CC371

Accessibility & contrast

On white

4.58
#508237 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#508237 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508237
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508237#FFFFFF#000000##000000
##5082371.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#867830
Deuteranopia (green-blind)
#7F743C
Tritanopia (blue-blind)
#4E7E71
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #508237;
/* rgb */ color: rgb(80, 130, 55);
/* oklch */ color: oklch(55.3% 0.119 136.4);
Tailwind
colors: {
  custom: {
    50: '#84a670',
    500: '#508237',
    950: '#000000',
  },
}
SCSS
$custom: #508237;
$custom-light: #84a670;
$custom-dark: #000000;
JSON
{
  "hex": "#508237",
  "rgb": {
    "r": 80,
    "g": 130,
    "b": 55
  },
  "hsl": {
    "h": 100,
    "s": 40.541,
    "l": 36.275
  },
  "oklch": {
    "l": 0.55339,
    "c": 0.11944,
    "h": 136.4
  },
  "luminance": 0.17947
}

Semantic roles & 50–950 ramp

primary
#508237
secondary
#9569AB
accent
#57D0A8
background
#F8FAF6
surface
#EFF4EC
border
#CACEC7
text
#0B0F08
muted
#7C7F7B

Preview Lab

Preview with #508237

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

Preview Lab → · Contrast checker → · Palette generator →

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