#508148#508148

#508148 is a mid, moderate green. Relative luminance 0.179; OKLCH L 55.3% C 0.100 H 141.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#508148
RGBrgb(80, 129, 72)
HSLhsl(112, 28%, 39%)
HSVhsv(112, 44%, 51%)
CMYKcmyk(38%, 0%, 44.2%, 49.4%)
CIE-LABlab(49.34, -28.55, 25.76)
CIE-LCHlch(49.34, 38.46, 137.94°)
OKLaboklab(55.34% -0.0779 0.0632)
OKLCHoklch(55.34% 0.1 141)
XYZxyz(12.3277, 17.8732, 8.9300)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508148 #794881
analogous
#6D8148 #508148 #48815D
triadic
#508148 #485081 #814850
tetradic
#508148 #486D81 #794881 #815D48
square
#508148 #486D81 #794881 #815D48
split-complementary
#508148 #5D4881 #81486D
monochromatic
#1F321C #385A32 #508148 #6AA660 #8FBC87

Accessibility & contrast

On white

4.59
#508148 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #508148
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508148#FFFFFF#000000##FFFFFF
##5081481.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847844
Deuteranopia (green-blind)
#7D744B
Tritanopia (blue-blind)
#4C7E73
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #508148;
/* rgb */ color: rgb(80, 129, 72);
/* oklch */ color: oklch(55.3% 0.100 141.0);
Tailwind
colors: {
  custom: {
    50: '#83a67c',
    500: '#508148',
    950: '#000000',
  },
}
SCSS
$custom: #508148;
$custom-light: #83a67c;
$custom-dark: #000000;
JSON
{
  "hex": "#508148",
  "rgb": {
    "r": 80,
    "g": 129,
    "b": 72
  },
  "hsl": {
    "h": 111.579,
    "s": 28.358,
    "l": 39.412
  },
  "oklch": {
    "l": 0.55343,
    "c": 0.10035,
    "h": 141
  },
  "luminance": 0.17874
}

Semantic roles & 50–950 ramp

primary
#508148
secondary
#A27DA8
accent
#63C5B7
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B0F09
muted
#7C7F7B

Preview Lab

Preview with #508148

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

Preview Lab → · Contrast checker → · Palette generator →

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