#4E8740#4E8740

#4E8740 is a mid, moderate green. Relative luminance 0.193; OKLCH L 56.7% C 0.119 H 139.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4E8740
RGBrgb(78, 135, 64)
HSLhsl(108, 36%, 39%)
HSVhsv(108, 53%, 53%)
CMYKcmyk(42.2%, 0%, 52.6%, 47.1%)
CIE-LABlab(51.06, -33.21, 32.17)
CIE-LCHlch(51.06, 46.24, 135.91°)
OKLaboklab(56.67% -0.0909 0.0772)
OKLCHoklch(56.67% 0.119 139.7)
XYZxyz(12.7308, 19.3171, 7.9073)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8740 #794087
analogous
#728740 #4E8740 #408756
triadic
#4E8740 #404E87 #87404E
tetradic
#4E8740 #407287 #794087 #875640
square
#4E8740 #407287 #794087 #875640
split-complementary
#4E8740 #564087 #874072
monochromatic
#1E3419 #365D2C #4E8740 #67AF56 #8CC27F

Accessibility & contrast

On white

4.32
#4E8740 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#4E8740 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8740
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8740#FFFFFF#000000##000000
##4E87401.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D3A
Deuteranopia (green-blind)
#827845
Tritanopia (blue-blind)
#4A8377
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e8740;
/* rgb */ color: rgb(78, 135, 64);
/* oklch */ color: oklch(56.7% 0.119 139.7);
Tailwind
colors: {
  custom: {
    50: '#83aa76',
    500: '#4e8740',
    950: '#000000',
  },
}
SCSS
$custom: #4e8740;
$custom-light: #83aa76;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8740",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 64
  },
  "hsl": {
    "h": 108.169,
    "s": 35.678,
    "l": 39.02
  },
  "oklch": {
    "l": 0.56674,
    "c": 0.1193,
    "h": 139.7
  },
  "luminance": 0.19318
}

Semantic roles & 50–950 ramp

primary
#4E8740
secondary
#A276AD
accent
#5CCCB6
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #4E8740

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

Preview Lab → · Contrast checker → · Palette generator →

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