#508261#508261

#508261 is a mid, moderate green. Relative luminance 0.185; OKLCH L 56.1% C 0.075 H 154.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#508261
RGBrgb(80, 130, 97)
HSLhsl(140, 24%, 41%)
HSVhsv(140, 38%, 51%)
CMYKcmyk(38.5%, 0%, 25.4%, 49%)
CIE-LABlab(50.14, -24.53, 12.66)
CIE-LCHlch(50.14, 27.61, 152.70°)
OKLaboklab(56.14% -0.0674 0.0323)
OKLCHoklch(56.14% 0.075 154.4)
XYZxyz(13.4477, 18.5330, 14.1756)
Luminance0.1853 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508261 #825071
analogous
#588250 #508261 #50827A
triadic
#508261 #615082 #826150
tetradic
#508261 #505882 #825071 #827A50
square
#508261 #505882 #825071 #827A50
split-complementary
#508261 #7A5082 #825058
monochromatic
#213628 #395C45 #508261 #6BA47F #91BB9F

Accessibility & contrast

On white

4.46
#508261 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#508261 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508261
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508261#FFFFFF#000000##000000
##5082611.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#827B5F
Deuteranopia (green-blind)
#7A7563
Tritanopia (blue-blind)
#478179
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #508261;
/* rgb */ color: rgb(80, 130, 97);
/* oklch */ color: oklch(56.1% 0.075 154.4);
Tailwind
colors: {
  custom: {
    50: '#83a68e',
    500: '#508261',
    950: '#000000',
  },
}
SCSS
$custom: #508261;
$custom-light: #83a68e;
$custom-dark: #000000;
JSON
{
  "hex": "#508261",
  "rgb": {
    "r": 80,
    "g": 130,
    "b": 97
  },
  "hsl": {
    "h": 140.4,
    "s": 23.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.56143,
    "c": 0.07478,
    "h": 154.4
  },
  "luminance": 0.18534
}

Semantic roles & 50–950 ramp

primary
#508261
secondary
#A8869C
accent
#68A2C0
background
#F8FAF8
surface
#EFF4F0
border
#CACECB
text
#0B0F0C
muted
#7C7F7D

Preview Lab

Preview with #508261

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

Preview Lab → · Contrast checker → · Palette generator →

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