#508F48#508F48

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

Color values

HEX#508F48
RGBrgb(80, 143, 72)
HSLhsl(113, 33%, 42%)
HSVhsv(113, 50%, 56%)
CMYKcmyk(44.1%, 0%, 49.7%, 43.9%)
CIE-LABlab(53.83, -35.07, 31.42)
CIE-LCHlch(53.83, 47.09, 138.14°)
OKLaboklab(59% -0.0957 0.076)
OKLCHoklch(59% 0.122 141.5)
XYZxyz(14.2998, 21.8174, 9.5873)
Luminance0.2182 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508F48 #87488F
analogous
#748F48 #508F48 #488F63
triadic
#508F48 #48508F #8F4850
tetradic
#508F48 #48748F #87488F #8F6348
square
#508F48 #48748F #87488F #8F6348
split-complementary
#508F48 #63488F #8F4874
monochromatic
#223E1F #396634 #508F48 #6CB163 #93C58C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##508F48#FFFFFF#000000##000000
##508F481.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)
#928442
Deuteranopia (green-blind)
#897E4D
Tritanopia (blue-blind)
#4A8B7E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #508f48;
/* rgb */ color: rgb(80, 143, 72);
/* oklch */ color: oklch(59.0% 0.122 141.5);
Tailwind
colors: {
  custom: {
    50: '#85b07c',
    500: '#508f48',
    950: '#000000',
  },
}
SCSS
$custom: #508f48;
$custom-light: #85b07c;
$custom-dark: #000000;
JSON
{
  "hex": "#508f48",
  "rgb": {
    "r": 80,
    "g": 143,
    "b": 72
  },
  "hsl": {
    "h": 113.239,
    "s": 33.023,
    "l": 42.157
  },
  "oklch": {
    "l": 0.59002,
    "c": 0.12226,
    "h": 141.5
  },
  "luminance": 0.21818
}

Semantic roles & 50–950 ramp

primary
#508F48
secondary
#AC82B1
accent
#5FC9BD
background
#F8FAF7
surface
#F0F5EE
border
#CBCFC9
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #508F48

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

Preview Lab → · Contrast checker → · Palette generator →

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