#4E8042#4E8042

#4E8042 is a mid, moderate green. Relative luminance 0.175; OKLCH L 54.9% C 0.106 H 139.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4E8042
RGBrgb(78, 128, 66)
HSLhsl(108, 32%, 38%)
HSVhsv(108, 48%, 50%)
CMYKcmyk(39.1%, 0%, 48.4%, 49.8%)
CIE-LABlab(48.82, -29.67, 28.36)
CIE-LCHlch(48.82, 41.04, 136.30°)
OKLaboklab(54.86% -0.0812 0.0688)
OKLCHoklch(54.86% 0.106 139.7)
XYZxyz(11.8440, 17.4508, 7.8975)
Luminance0.1745 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8042 #744280
analogous
#6D8042 #4E8042 #428055
triadic
#4E8042 #424E80 #80424E
tetradic
#4E8042 #426D80 #744280 #805542
square
#4E8042 #426D80 #744280 #805542
split-complementary
#4E8042 #554280 #80426D
monochromatic
#1D2F18 #35582D #4E8042 #67A857 #8BBD7F

Accessibility & contrast

On white

4.68
#4E8042 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#4E8042 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E8042
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8042#FFFFFF#000000##FFFFFF
##4E80421.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83773D
Deuteranopia (green-blind)
#7C7246
Tritanopia (blue-blind)
#4A7C71
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4e8042;
/* rgb */ color: rgb(78, 128, 66);
/* oklch */ color: oklch(54.9% 0.106 139.7);
Tailwind
colors: {
  custom: {
    50: '#82a577',
    500: '#4e8042',
    950: '#000000',
  },
}
SCSS
$custom: #4e8042;
$custom-light: #82a577;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8042",
  "rgb": {
    "r": 78,
    "g": 128,
    "b": 66
  },
  "hsl": {
    "h": 108.387,
    "s": 31.959,
    "l": 38.039
  },
  "oklch": {
    "l": 0.54863,
    "c": 0.10641,
    "h": 139.7
  },
  "luminance": 0.17451
}

Semantic roles & 50–950 ramp

primary
#4E8042
secondary
#9E76A8
accent
#60C8B4
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B0F09
muted
#7C7F7B

Preview Lab

Preview with #4E8042

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

Preview Lab → · Contrast checker → · Palette generator →

#4E8042 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva