#508462#508462

#508462 is a mid, moderate green. Relative luminance 0.191; OKLCH L 56.7% C 0.077 H 154.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#508462
RGBrgb(80, 132, 98)
HSLhsl(141, 25%, 42%)
HSVhsv(141, 39%, 52%)
CMYKcmyk(39.4%, 0%, 25.8%, 48.2%)
CIE-LABlab(50.79, -25.33, 13.00)
CIE-LCHlch(50.79, 28.47, 152.84°)
OKLaboklab(56.68% -0.0696 0.0332)
OKLCHoklch(56.68% 0.077 154.5)
XYZxyz(13.7633, 19.0890, 14.5122)
Luminance0.1909 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508462 #845072
analogous
#588450 #508462 #50847C
triadic
#508462 #625084 #846250
tetradic
#508462 #505884 #845072 #847C50
square
#508462 #505884 #845072 #847C50
split-complementary
#508462 #7C5084 #845058
monochromatic
#223829 #395E46 #508462 #6CA680 #92BDA1

Accessibility & contrast

On white

4.36
#508462 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#508462 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508462
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508462#FFFFFF#000000##000000
##5084621.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#847C60
Deuteranopia (green-blind)
#7C7764
Tritanopia (blue-blind)
#46837B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #508462;
/* rgb */ color: rgb(80, 132, 98);
/* oklch */ color: oklch(56.7% 0.077 154.5);
Tailwind
colors: {
  custom: {
    50: '#83a88e',
    500: '#508462',
    950: '#000000',
  },
}
SCSS
$custom: #508462;
$custom-light: #83a88e;
$custom-dark: #000000;
JSON
{
  "hex": "#508462",
  "rgb": {
    "r": 80,
    "g": 132,
    "b": 98
  },
  "hsl": {
    "h": 140.769,
    "s": 24.528,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5668,
    "c": 0.07711,
    "h": 154.5
  },
  "luminance": 0.1909
}

Semantic roles & 50–950 ramp

primary
#508462
secondary
#AA869D
accent
#67A2C1
background
#F8FAF8
surface
#EFF4F0
border
#CACECB
text
#0B0F0C
muted
#7C7F7D

Preview Lab

Preview with #508462

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

Preview Lab → · Contrast checker → · Palette generator →

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