#508452#508452

#508452 is a mid, moderate green. Relative luminance 0.188; OKLCH L 56.3% C 0.094 H 145.0°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#508452
RGBrgb(80, 132, 82)
HSLhsl(122, 25%, 42%)
HSVhsv(122, 39%, 52%)
CMYKcmyk(39.4%, 0%, 37.9%, 48.2%)
CIE-LABlab(50.47, -28.36, 21.67)
CIE-LCHlch(50.47, 35.70, 142.61°)
OKLaboklab(56.32% -0.0773 0.054)
OKLCHoklch(56.32% 0.094 145)
XYZxyz(13.0819, 18.8165, 10.9236)
Luminance0.1882 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508452 #845082
analogous
#688450 #508452 #50846C
triadic
#508452 #525084 #845250
tetradic
#508452 #506884 #845082 #846C50
square
#508452 #506884 #845082 #846C50
split-complementary
#508452 #6C5084 #845068
monochromatic
#223823 #395E3A #508452 #6CA66E #92BD93

Accessibility & contrast

On white

4.41
#508452 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#508452 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508452
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508452#FFFFFF#000000##000000
##5084521.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#867B4F
Deuteranopia (green-blind)
#7E7655
Tritanopia (blue-blind)
#4A8177
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #508452;
/* rgb */ color: rgb(80, 132, 82);
/* oklch */ color: oklch(56.3% 0.094 145.0);
Tailwind
colors: {
  custom: {
    50: '#83a883',
    500: '#508452',
    950: '#000000',
  },
}
SCSS
$custom: #508452;
$custom-light: #83a883;
$custom-dark: #000000;
JSON
{
  "hex": "#508452",
  "rgb": {
    "r": 80,
    "g": 132,
    "b": 82
  },
  "hsl": {
    "h": 122.308,
    "s": 24.528,
    "l": 41.569
  },
  "oklch": {
    "l": 0.56316,
    "c": 0.09427,
    "h": 145
  },
  "luminance": 0.18817
}

Semantic roles & 50–950 ramp

primary
#508452
secondary
#AA86A8
accent
#67BDC1
background
#F8FAF8
surface
#EFF4EF
border
#CACECA
text
#0B0F0A
muted
#7C7F7C

Preview Lab

Preview with #508452

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

Preview Lab → · Contrast checker → · Palette generator →

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