#508255#508255

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

Color values

HEX#508255
RGBrgb(80, 130, 85)
HSLhsl(126, 24%, 41%)
HSVhsv(126, 38%, 51%)
CMYKcmyk(38.5%, 0%, 34.6%, 49%)
CIE-LABlab(49.89, -26.85, 19.20)
CIE-LCHlch(49.89, 33.01, 144.43°)
OKLaboklab(55.86% -0.0732 0.0482)
OKLCHoklch(55.86% 0.088 146.6)
XYZxyz(12.9299, 18.3259, 11.4485)
Luminance0.1833 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508255 #82507D
analogous
#648250 #508255 #50826E
triadic
#508255 #555082 #825550
tetradic
#508255 #506482 #82507D #826E50
square
#508255 #506482 #82507D #826E50
split-complementary
#508255 #6E5082 #825064
monochromatic
#213623 #395C3C #508255 #6BA471 #91BB95

Accessibility & contrast

On white

4.50
#508255 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#508255 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508255
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508255#FFFFFF#000000##000000
##5082551.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#837A52
Deuteranopia (green-blind)
#7C7558
Tritanopia (blue-blind)
#498076
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #508255;
/* rgb */ color: rgb(80, 130, 85);
/* oklch */ color: oklch(55.9% 0.088 146.6);
Tailwind
colors: {
  custom: {
    50: '#83a685',
    500: '#508255',
    950: '#000000',
  },
}
SCSS
$custom: #508255;
$custom-light: #83a685;
$custom-dark: #000000;
JSON
{
  "hex": "#508255",
  "rgb": {
    "r": 80,
    "g": 130,
    "b": 85
  },
  "hsl": {
    "h": 126,
    "s": 23.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.55862,
    "c": 0.08765,
    "h": 146.6
  },
  "luminance": 0.18327
}

Semantic roles & 50–950 ramp

primary
#508255
secondary
#A886A5
accent
#68B7C0
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0B0F0B
muted
#7C7F7C

Preview Lab

Preview with #508255

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

Preview Lab → · Contrast checker → · Palette generator →

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