#508247#508247

#508247 is a mid, moderate green. Relative luminance 0.181; OKLCH L 55.6% C 0.103 H 140.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#508247
RGBrgb(80, 130, 71)
HSLhsl(111, 29%, 39%)
HSVhsv(111, 45%, 51%)
CMYKcmyk(38.5%, 0%, 45.4%, 49%)
CIE-LABlab(49.65, -29.18, 26.70)
CIE-LCHlch(49.65, 39.56, 137.54°)
OKLaboklab(55.59% -0.0797 0.0653)
OKLCHoklch(55.59% 0.103 140.7)
XYZxyz(12.4278, 18.1250, 8.8037)
Luminance0.1813 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508247 #794782
analogous
#6E8247 #508247 #47825C
triadic
#508247 #475082 #824750
tetradic
#508247 #476E82 #794782 #825C47
square
#508247 #476E82 #794782 #825C47
split-complementary
#508247 #5C4782 #82476E
monochromatic
#1F331C #385A31 #508247 #6AA75F #8FBD86

Accessibility & contrast

On white

4.54
#508247 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#508247 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508247
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508247#FFFFFF#000000##000000
##5082471.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#857942
Deuteranopia (green-blind)
#7E744B
Tritanopia (blue-blind)
#4C7F74
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #508247;
/* rgb */ color: rgb(80, 130, 71);
/* oklch */ color: oklch(55.6% 0.103 140.7);
Tailwind
colors: {
  custom: {
    50: '#84a67b',
    500: '#508247',
    950: '#000000',
  },
}
SCSS
$custom: #508247;
$custom-light: #84a67b;
$custom-dark: #000000;
JSON
{
  "hex": "#508247",
  "rgb": {
    "r": 80,
    "g": 130,
    "b": 71
  },
  "hsl": {
    "h": 110.847,
    "s": 29.353,
    "l": 39.412
  },
  "oklch": {
    "l": 0.55586,
    "c": 0.10305,
    "h": 140.7
  },
  "luminance": 0.18126
}

Semantic roles & 50–950 ramp

primary
#508247
secondary
#A27CA9
accent
#62C6B6
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B0F09
muted
#7C7F7B

Preview Lab

Preview with #508247

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

Preview Lab → · Contrast checker → · Palette generator →

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