#508457#508457

#508457 is a mid, moderate green. Relative luminance 0.189; OKLCH L 56.4% C 0.089 H 147.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#508457
RGBrgb(80, 132, 87)
HSLhsl(128, 25%, 42%)
HSVhsv(128, 39%, 52%)
CMYKcmyk(39.4%, 0%, 34.1%, 48.2%)
CIE-LABlab(50.56, -27.47, 18.98)
CIE-LCHlch(50.56, 33.39, 145.36°)
OKLaboklab(56.42% -0.0749 0.0477)
OKLCHoklch(56.42% 0.089 147.5)
XYZxyz(13.2791, 18.8954, 11.9624)
Luminance0.1890 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508457 #84507D
analogous
#638450 #508457 #508471
triadic
#508457 #575084 #845750
tetradic
#508457 #506384 #84507D #847150
square
#508457 #506384 #84507D #847150
split-complementary
#508457 #715084 #845063
monochromatic
#223825 #395E3E #508457 #6CA673 #92BD97

Accessibility & contrast

On white

4.39
#508457 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#508457 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508457
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508457#FFFFFF#000000##000000
##5084571.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#857C54
Deuteranopia (green-blind)
#7D765A
Tritanopia (blue-blind)
#498278
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #508457;
/* rgb */ color: rgb(80, 132, 87);
/* oklch */ color: oklch(56.4% 0.089 147.5);
Tailwind
colors: {
  custom: {
    50: '#83a886',
    500: '#508457',
    950: '#000000',
  },
}
SCSS
$custom: #508457;
$custom-light: #83a886;
$custom-dark: #000000;
JSON
{
  "hex": "#508457",
  "rgb": {
    "r": 80,
    "g": 132,
    "b": 87
  },
  "hsl": {
    "h": 128.077,
    "s": 24.528,
    "l": 41.569
  },
  "oklch": {
    "l": 0.56422,
    "c": 0.08879,
    "h": 147.5
  },
  "luminance": 0.18896
}

Semantic roles & 50–950 ramp

primary
#508457
secondary
#AA86A5
accent
#67B5C1
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0B0F0B
muted
#7C7F7C

Preview Lab

Preview with #508457

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

Preview Lab → · Contrast checker → · Palette generator →

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