#508145#508145

#508145 is a mid, moderate green. Relative luminance 0.178; OKLCH L 55.3% C 0.104 H 139.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#508145
RGBrgb(80, 129, 69)
HSLhsl(109, 30%, 39%)
HSVhsv(109, 47%, 51%)
CMYKcmyk(38%, 0%, 46.5%, 49.4%)
CIE-LABlab(49.30, -29.00, 27.35)
CIE-LCHlch(49.30, 39.86, 136.69°)
OKLaboklab(55.29% -0.0793 0.0667)
OKLCHoklch(55.29% 0.104 139.9)
XYZxyz(12.2323, 17.8350, 8.4271)
Luminance0.1784 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508145 #764581
analogous
#6E8145 #508145 #458158
triadic
#508145 #455081 #814550
tetradic
#508145 #456E81 #764581 #815845
square
#508145 #456E81 #764581 #815845
split-complementary
#508145 #584581 #81456E
monochromatic
#1F311A #375930 #508145 #6AA85C #8EBD83

Accessibility & contrast

On white

4.60
#508145 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#508145 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #508145
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508145#FFFFFF#000000##FFFFFF
##5081451.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847840
Deuteranopia (green-blind)
#7D7349
Tritanopia (blue-blind)
#4C7D73
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #508145;
/* rgb */ color: rgb(80, 129, 69);
/* oklch */ color: oklch(55.3% 0.104 139.9);
Tailwind
colors: {
  custom: {
    50: '#84a67a',
    500: '#508145',
    950: '#000000',
  },
}
SCSS
$custom: #508145;
$custom-light: #84a67a;
$custom-dark: #000000;
JSON
{
  "hex": "#508145",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 69
  },
  "hsl": {
    "h": 109,
    "s": 30.303,
    "l": 38.824
  },
  "oklch": {
    "l": 0.5529,
    "c": 0.10361,
    "h": 139.9
  },
  "luminance": 0.17836
}

Semantic roles & 50–950 ramp

primary
#508145
secondary
#A07AA8
accent
#61C7B4
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B0F09
muted
#7C7F7B

Preview Lab

Preview with #508145

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

Preview Lab → · Contrast checker → · Palette generator →

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