#508F45#508F45

#508F45 is a mid, vivid green. Relative luminance 0.218; OKLCH L 59.0% C 0.125 H 140.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#508F45
RGBrgb(80, 143, 69)
HSLhsl(111, 35%, 42%)
HSVhsv(111, 52%, 56%)
CMYKcmyk(44.1%, 0%, 51.7%, 43.9%)
CIE-LABlab(53.79, -35.49, 32.94)
CIE-LCHlch(53.79, 48.42, 137.14°)
OKLaboklab(58.96% -0.097 0.0792)
OKLCHoklch(58.96% 0.125 140.8)
XYZxyz(14.2043, 21.7792, 9.0844)
Luminance0.2178 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508F45 #84458F
analogous
#758F45 #508F45 #458F5F
triadic
#508F45 #45508F #8F4550
tetradic
#508F45 #45758F #84458F #8F5F45
square
#508F45 #45758F #84458F #8F5F45
split-complementary
#508F45 #5F458F #8F4575
monochromatic
#223C1D #396631 #508F45 #6CB25F #92C689

Accessibility & contrast

On white

3.92
#508F45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#508F45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508F45
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508F45#FFFFFF#000000##000000
##508F451.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#92843F
Deuteranopia (green-blind)
#8A7E4A
Tritanopia (blue-blind)
#4A8B7E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #508f45;
/* rgb */ color: rgb(80, 143, 69);
/* oklch */ color: oklch(59.0% 0.125 140.8);
Tailwind
colors: {
  custom: {
    50: '#85b07a',
    500: '#508f45',
    950: '#000000',
  },
}
SCSS
$custom: #508f45;
$custom-light: #85b07a;
$custom-dark: #000000;
JSON
{
  "hex": "#508f45",
  "rgb": {
    "r": 80,
    "g": 143,
    "b": 69
  },
  "hsl": {
    "h": 111.081,
    "s": 34.906,
    "l": 41.569
  },
  "oklch": {
    "l": 0.58955,
    "c": 0.12525,
    "h": 140.8
  },
  "luminance": 0.2178
}

Semantic roles & 50–950 ramp

primary
#508F45
secondary
#AA7FB1
accent
#5DCBBB
background
#F8FAF7
surface
#F0F5EE
border
#CBCFC9
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #508F45

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

Preview Lab → · Contrast checker → · Palette generator →

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