#508348#508348

#508348 is a mid, moderate green. Relative luminance 0.184; OKLCH L 55.9% C 0.104 H 141.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#508348
RGBrgb(80, 131, 72)
HSLhsl(112, 29%, 40%)
HSVhsv(112, 45%, 51%)
CMYKcmyk(38.9%, 0%, 45%, 48.6%)
CIE-LABlab(49.98, -29.51, 26.58)
CIE-LCHlch(49.98, 39.72, 137.99°)
OKLaboklab(55.86% -0.0806 0.0651)
OKLCHoklch(55.86% 0.104 141.1)
XYZxyz(12.5938, 18.4053, 9.0186)
Luminance0.1841 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508348 #7B4883
analogous
#6E8348 #508348 #48835D
triadic
#508348 #485083 #834850
tetradic
#508348 #486E83 #7B4883 #835D48
square
#508348 #486E83 #7B4883 #835D48
split-complementary
#508348 #5D4883 #83486E
monochromatic
#20341D #385C32 #508348 #6AA860 #8FBE88

Accessibility & contrast

On white

4.49
#508348 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#508348 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508348
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508348#FFFFFF#000000##000000
##5083481.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#867A43
Deuteranopia (green-blind)
#7E754C
Tritanopia (blue-blind)
#4C8075
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #508348;
/* rgb */ color: rgb(80, 131, 72);
/* oklch */ color: oklch(55.9% 0.104 141.1);
Tailwind
colors: {
  custom: {
    50: '#84a77c',
    500: '#508348',
    950: '#000000',
  },
}
SCSS
$custom: #508348;
$custom-light: #84a77c;
$custom-dark: #000000;
JSON
{
  "hex": "#508348",
  "rgb": {
    "r": 80,
    "g": 131,
    "b": 72
  },
  "hsl": {
    "h": 111.864,
    "s": 29.064,
    "l": 39.804
  },
  "oklch": {
    "l": 0.55865,
    "c": 0.10357,
    "h": 141.1
  },
  "luminance": 0.18406
}

Semantic roles & 50–950 ramp

primary
#508348
secondary
#A37EA9
accent
#62C5B8
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B0F09
muted
#7C7F7B

Preview Lab

Preview with #508348

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

Preview Lab → · Contrast checker → · Palette generator →

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