#508258#508258

#508258 is a mid, moderate green. Relative luminance 0.184; OKLCH L 55.9% C 0.084 H 148.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#508258
RGBrgb(80, 130, 88)
HSLhsl(130, 24%, 41%)
HSVhsv(130, 38%, 51%)
CMYKcmyk(38.5%, 0%, 32.3%, 49%)
CIE-LABlab(49.95, -26.30, 17.57)
CIE-LCHlch(49.95, 31.63, 146.25°)
OKLaboklab(55.93% -0.0718 0.0443)
OKLCHoklch(55.93% 0.084 148.3)
XYZxyz(13.0517, 18.3746, 12.0896)
Luminance0.1837 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508258 #82507A
analogous
#618250 #508258 #508271
triadic
#508258 #585082 #825850
tetradic
#508258 #506182 #82507A #827150
square
#508258 #506182 #82507A #827150
split-complementary
#508258 #715082 #825061
monochromatic
#213625 #395C3E #508258 #6BA474 #91BB98

Accessibility & contrast

On white

4.49
#508258 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#508258 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508258
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508258#FFFFFF#000000##000000
##5082581.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#837A55
Deuteranopia (green-blind)
#7B755A
Tritanopia (blue-blind)
#498077
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #508258;
/* rgb */ color: rgb(80, 130, 88);
/* oklch */ color: oklch(55.9% 0.084 148.3);
Tailwind
colors: {
  custom: {
    50: '#83a687',
    500: '#508258',
    950: '#000000',
  },
}
SCSS
$custom: #508258;
$custom-light: #83a687;
$custom-dark: #000000;
JSON
{
  "hex": "#508258",
  "rgb": {
    "r": 80,
    "g": 130,
    "b": 88
  },
  "hsl": {
    "h": 129.6,
    "s": 23.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.55928,
    "c": 0.08436,
    "h": 148.3
  },
  "luminance": 0.18375
}

Semantic roles & 50–950 ramp

primary
#508258
secondary
#A886A3
accent
#68B2C0
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0B0F0B
muted
#7C7F7C

Preview Lab

Preview with #508258

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

Preview Lab → · Contrast checker → · Palette generator →

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