#508A52#508A52

#508A52 is a mid, moderate green. Relative luminance 0.205; OKLCH L 57.9% C 0.104 H 144.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#508A52
RGBrgb(80, 138, 82)
HSLhsl(122, 27%, 43%)
HSVhsv(122, 42%, 54%)
CMYKcmyk(42%, 0%, 40.6%, 45.9%)
CIE-LABlab(52.39, -31.23, 24.19)
CIE-LCHlch(52.39, 39.50, 142.23°)
OKLaboklab(57.87% -0.085 0.0599)
OKLCHoklch(57.87% 0.104 144.8)
XYZxyz(13.9191, 20.4908, 11.2027)
Luminance0.2049 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508A52 #8A5088
analogous
#6B8A50 #508A52 #508A6F
triadic
#508A52 #52508A #8A5250
tetradic
#508A52 #506B8A #8A5088 #8A6F50
square
#508A52 #506B8A #8A5088 #8A6F50
split-complementary
#508A52 #6F508A #8A506B
monochromatic
#233D24 #3A633B #508A52 #6DAA6F #94C195

Accessibility & contrast

On white

4.12
#508A52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#508A52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508A52
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508A52#FFFFFF#000000##000000
##508A521.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C804E
Deuteranopia (green-blind)
#847B55
Tritanopia (blue-blind)
#49877C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #508a52;
/* rgb */ color: rgb(80, 138, 82);
/* oklch */ color: oklch(57.9% 0.104 144.8);
Tailwind
colors: {
  custom: {
    50: '#84ac83',
    500: '#508a52',
    950: '#000000',
  },
}
SCSS
$custom: #508a52;
$custom-light: #84ac83;
$custom-dark: #000000;
JSON
{
  "hex": "#508a52",
  "rgb": {
    "r": 80,
    "g": 138,
    "b": 82
  },
  "hsl": {
    "h": 122.069,
    "s": 26.606,
    "l": 42.745
  },
  "oklch": {
    "l": 0.57874,
    "c": 0.10401,
    "h": 144.8
  },
  "luminance": 0.20492
}

Semantic roles & 50–950 ramp

primary
#508A52
secondary
#AE88AC
accent
#65C0C3
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0B100A
muted
#7C7F7C

Preview Lab

Preview with #508A52

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

Preview Lab → · Contrast checker → · Palette generator →

#508A52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva