#508162#508162

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

Color values

HEX#508162
RGBrgb(80, 129, 98)
HSLhsl(142, 23%, 41%)
HSVhsv(142, 38%, 51%)
CMYKcmyk(38%, 0%, 24%, 49.4%)
CIE-LABlab(49.84, -23.82, 11.67)
CIE-LCHlch(49.84, 26.52, 153.89°)
OKLaboklab(55.91% -0.0656 0.0299)
OKLCHoklch(55.91% 0.072 155.5)
XYZxyz(13.3623, 18.2871, 14.3786)
Luminance0.1829 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508162 #81506F
analogous
#568150 #508162 #50817A
triadic
#508162 #625081 #816250
tetradic
#508162 #505681 #81506F #817A50
square
#508162 #505681 #81506F #817A50
split-complementary
#508162 #7A5081 #815056
monochromatic
#213529 #395B45 #508162 #6BA380 #91BBA0

Accessibility & contrast

On white

4.51
#508162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##508162#FFFFFF#000000##000000
##5081621.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#817A60
Deuteranopia (green-blind)
#797464
Tritanopia (blue-blind)
#468078
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #508162;
/* rgb */ color: rgb(80, 129, 98);
/* oklch */ color: oklch(55.9% 0.072 155.5);
Tailwind
colors: {
  custom: {
    50: '#83a68e',
    500: '#508162',
    950: '#000000',
  },
}
SCSS
$custom: #508162;
$custom-light: #83a68e;
$custom-dark: #000000;
JSON
{
  "hex": "#508162",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 98
  },
  "hsl": {
    "h": 142.041,
    "s": 23.445,
    "l": 40.98
  },
  "oklch": {
    "l": 0.55913,
    "c": 0.07209,
    "h": 155.5
  },
  "luminance": 0.18288
}

Semantic roles & 50–950 ramp

primary
#508162
secondary
#A8859B
accent
#68A0C0
background
#F8FAF8
surface
#EFF4F0
border
#CACECB
text
#0B0F0C
muted
#7C7F7D

Preview Lab

Preview with #508162

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

Preview Lab → · Contrast checker → · Palette generator →

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