#508648#508648

#508648 is a mid, moderate green. Relative luminance 0.192; OKLCH L 56.6% C 0.108 H 141.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#508648
RGBrgb(80, 134, 72)
HSLhsl(112, 30%, 40%)
HSVhsv(112, 46%, 53%)
CMYKcmyk(40.3%, 0%, 46.3%, 47.5%)
CIE-LABlab(50.95, -30.93, 27.81)
CIE-LCHlch(50.95, 41.59, 138.05°)
OKLaboklab(56.65% -0.0844 0.0679)
OKLCHoklch(56.65% 0.108 141.2)
XYZxyz(13.0025, 19.2228, 9.1549)
Luminance0.1922 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#508648 #7E4886
analogous
#6F8648 #508648 #48865F
triadic
#508648 #485086 #864850
tetradic
#508648 #486F86 #7E4886 #865F48
square
#508648 #486F86 #7E4886 #865F48
split-complementary
#508648 #5F4886 #86486F
monochromatic
#20361D #385E33 #508648 #6AAA61 #90C089

Accessibility & contrast

On white

4.33
#508648 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#508648 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #508648
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##508648#FFFFFF#000000##000000
##5086481.004.334.844.84
#FFFFFF4.331.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897C43
Deuteranopia (green-blind)
#81774C
Tritanopia (blue-blind)
#4B8377
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #508648;
/* rgb */ color: rgb(80, 134, 72);
/* oklch */ color: oklch(56.6% 0.108 141.2);
Tailwind
colors: {
  custom: {
    50: '#84a97c',
    500: '#508648',
    950: '#000000',
  },
}
SCSS
$custom: #508648;
$custom-light: #84a97c;
$custom-dark: #000000;
JSON
{
  "hex": "#508648",
  "rgb": {
    "r": 80,
    "g": 134,
    "b": 72
  },
  "hsl": {
    "h": 112.258,
    "s": 30.097,
    "l": 40.392
  },
  "oklch": {
    "l": 0.56649,
    "c": 0.10834,
    "h": 141.2
  },
  "luminance": 0.19224
}

Semantic roles & 50–950 ramp

primary
#508648
secondary
#A57FAB
accent
#61C6B9
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #508648

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

Preview Lab → · Contrast checker → · Palette generator →

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