#508952#508952

#508952 is a mid, moderate green. Relative luminance 0.202; OKLCH L 57.6% C 0.102 H 144.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#508952
RGBrgb(80, 137, 82)
HSLhsl(122, 26%, 43%)
HSVhsv(122, 42%, 54%)
CMYKcmyk(41.6%, 0%, 40.1%, 46.3%)
CIE-LABlab(52.07, -30.75, 23.78)
CIE-LCHlch(52.07, 38.87, 142.29°)
OKLaboklab(57.61% -0.0837 0.059)
OKLCHoklch(57.61% 0.102 144.9)
XYZxyz(13.7762, 20.2052, 11.1551)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508952 #895087
analogous
#6B8950 #508952 #50896E
triadic
#508952 #525089 #895250
tetradic
#508952 #506B89 #895087 #896E50
square
#508952 #506B89 #895087 #896E50
split-complementary
#508952 #6E5089 #89506B
monochromatic
#233C24 #39623B #508952 #6DAA6F #93C095

Accessibility & contrast

On white

4.17
#508952 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#508952 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508952
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508952#FFFFFF#000000##000000
##5089521.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B804E
Deuteranopia (green-blind)
#837A55
Tritanopia (blue-blind)
#49867B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #508952;
/* rgb */ color: rgb(80, 137, 82);
/* oklch */ color: oklch(57.6% 0.102 144.9);
Tailwind
colors: {
  custom: {
    50: '#84ac83',
    500: '#508952',
    950: '#000000',
  },
}
SCSS
$custom: #508952;
$custom-light: #84ac83;
$custom-dark: #000000;
JSON
{
  "hex": "#508952",
  "rgb": {
    "r": 80,
    "g": 137,
    "b": 82
  },
  "hsl": {
    "h": 122.105,
    "s": 26.267,
    "l": 42.549
  },
  "oklch": {
    "l": 0.57614,
    "c": 0.10241,
    "h": 144.9
  },
  "luminance": 0.20206
}

Semantic roles & 50–950 ramp

primary
#508952
secondary
#AD88AC
accent
#65BFC3
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0B100A
muted
#7C7F7C

Preview Lab

Preview with #508952

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

Preview Lab → · Contrast checker → · Palette generator →

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