#4E8540#4E8540

#4E8540 is a mid, moderate green. Relative luminance 0.188; OKLCH L 56.1% C 0.116 H 139.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4E8540
RGBrgb(78, 133, 64)
HSLhsl(108, 35%, 39%)
HSVhsv(108, 52%, 52%)
CMYKcmyk(41.4%, 0%, 51.9%, 47.8%)
CIE-LABlab(50.41, -32.29, 31.38)
CIE-LCHlch(50.41, 45.03, 135.82°)
OKLaboklab(56.15% -0.0884 0.0755)
OKLCHoklch(56.15% 0.116 139.5)
XYZxyz(12.4544, 18.7642, 7.8151)
Luminance0.1877 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E8540 #774085
analogous
#708540 #4E8540 #408554
triadic
#4E8540 #404E85 #85404E
tetradic
#4E8540 #407085 #774085 #855440
square
#4E8540 #407085 #774085 #855440
split-complementary
#4E8540 #544085 #854070
monochromatic
#1E3218 #365C2C #4E8540 #67AD55 #8CC17E

Accessibility & contrast

On white

4.42
#4E8540 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#4E8540 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E8540
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E8540#FFFFFF#000000##000000
##4E85401.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B3A
Deuteranopia (green-blind)
#817645
Tritanopia (blue-blind)
#4A8175
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4e8540;
/* rgb */ color: rgb(78, 133, 64);
/* oklch */ color: oklch(56.1% 0.116 139.5);
Tailwind
colors: {
  custom: {
    50: '#83a976',
    500: '#4e8540',
    950: '#000000',
  },
}
SCSS
$custom: #4e8540;
$custom-light: #83a976;
$custom-dark: #000000;
JSON
{
  "hex": "#4e8540",
  "rgb": {
    "r": 78,
    "g": 133,
    "b": 64
  },
  "hsl": {
    "h": 107.826,
    "s": 35.025,
    "l": 38.627
  },
  "oklch": {
    "l": 0.56147,
    "c": 0.11626,
    "h": 139.5
  },
  "luminance": 0.18765
}

Semantic roles & 50–950 ramp

primary
#4E8540
secondary
#A175AC
accent
#5DCBB5
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B1008
muted
#7C7F7B

Preview Lab

Preview with #4E8540

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

Preview Lab → · Contrast checker → · Palette generator →

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