#508351#508351

#508351 is a mid, moderate green. Relative luminance 0.185; OKLCH L 56.0% C 0.094 H 144.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#508351
RGBrgb(80, 131, 81)
HSLhsl(121, 24%, 41%)
HSVhsv(121, 39%, 51%)
CMYKcmyk(38.9%, 0%, 38.2%, 48.6%)
CIE-LABlab(50.13, -28.05, 21.79)
CIE-LCHlch(50.13, 35.52, 142.16°)
OKLaboklab(56.04% -0.0764 0.0543)
OKLCHoklch(56.04% 0.094 144.6)
XYZxyz(12.9092, 18.5314, 10.6797)
Luminance0.1853 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508351 #835082
analogous
#698350 #508351 #50836B
triadic
#508351 #515083 #835150
tetradic
#508351 #506983 #835082 #836B50
square
#508351 #506983 #835082 #836B50
split-complementary
#508351 #6B5083 #835069
monochromatic
#223722 #395D3A #508351 #6BA56C #91BC92

Accessibility & contrast

On white

4.46
#508351 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#508351 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508351
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508351#FFFFFF#000000##000000
##5083511.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#857A4E
Deuteranopia (green-blind)
#7D7554
Tritanopia (blue-blind)
#4A8076
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #508351;
/* rgb */ color: rgb(80, 131, 81);
/* oklch */ color: oklch(56.0% 0.094 144.6);
Tailwind
colors: {
  custom: {
    50: '#83a782',
    500: '#508351',
    950: '#000000',
  },
}
SCSS
$custom: #508351;
$custom-light: #83a782;
$custom-dark: #000000;
JSON
{
  "hex": "#508351",
  "rgb": {
    "r": 80,
    "g": 131,
    "b": 81
  },
  "hsl": {
    "h": 121.176,
    "s": 24.171,
    "l": 41.373
  },
  "oklch": {
    "l": 0.56037,
    "c": 0.09372,
    "h": 144.6
  },
  "luminance": 0.18532
}

Semantic roles & 50–950 ramp

primary
#508351
secondary
#A986A8
accent
#67BFC1
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0B0F0A
muted
#7C7F7C

Preview Lab

Preview with #508351

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

Preview Lab → · Contrast checker → · Palette generator →

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