#508248#508248

#508248 is a mid, moderate green. Relative luminance 0.181; OKLCH L 55.6% C 0.102 H 141.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#508248
RGBrgb(80, 130, 72)
HSLhsl(112, 29%, 40%)
HSVhsv(112, 45%, 51%)
CMYKcmyk(38.5%, 0%, 44.6%, 49%)
CIE-LABlab(49.66, -29.03, 26.17)
CIE-LCHlch(49.66, 39.09, 137.96°)
OKLaboklab(55.6% -0.0793 0.0641)
OKLCHoklch(55.6% 0.102 141)
XYZxyz(12.4601, 18.1380, 8.9741)
Luminance0.1814 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508248 #7A4882
analogous
#6D8248 #508248 #48825D
triadic
#508248 #485082 #824850
tetradic
#508248 #486D82 #7A4882 #825D48
square
#508248 #486D82 #7A4882 #825D48
split-complementary
#508248 #5D4882 #82486D
monochromatic
#20331C #385B32 #508248 #6AA760 #8FBD88

Accessibility & contrast

On white

4.54
#508248 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#508248 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508248
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508248#FFFFFF#000000##000000
##5082481.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#857944
Deuteranopia (green-blind)
#7D744C
Tritanopia (blue-blind)
#4C7F74
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #508248;
/* rgb */ color: rgb(80, 130, 72);
/* oklch */ color: oklch(55.6% 0.102 141.0);
Tailwind
colors: {
  custom: {
    50: '#84a67c',
    500: '#508248',
    950: '#000000',
  },
}
SCSS
$custom: #508248;
$custom-light: #84a67c;
$custom-dark: #000000;
JSON
{
  "hex": "#508248",
  "rgb": {
    "r": 80,
    "g": 130,
    "b": 72
  },
  "hsl": {
    "h": 111.724,
    "s": 28.713,
    "l": 39.608
  },
  "oklch": {
    "l": 0.55604,
    "c": 0.10196,
    "h": 141
  },
  "luminance": 0.18139
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #508248

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

Preview Lab → · Contrast checker → · Palette generator →

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