#4E7540#4E7540

#4E7540 is a mid, moderate green. Relative luminance 0.147; OKLCH L 51.9% C 0.091 H 137.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4E7540
RGBrgb(78, 117, 64)
HSLhsl(104, 29%, 35%)
HSVhsv(104, 45%, 46%)
CMYKcmyk(33.3%, 0%, 45.3%, 54.1%)
CIE-LABlab(45.24, -24.59, 24.93)
CIE-LCHlch(45.24, 35.02, 134.60°)
OKLaboklab(51.94% -0.0673 0.061)
OKLCHoklch(51.94% 0.091 137.8)
XYZxyz(10.4283, 14.7120, 7.1397)
Luminance0.1471 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7540 #674075
analogous
#687540 #4E7540 #40754C
triadic
#4E7540 #404E75 #75404E
tetradic
#4E7540 #406875 #674075 #754C40
square
#4E7540 #406875 #674075 #754C40
split-complementary
#4E7540 #4C4075 #754068
monochromatic
#192615 #344D2A #4E7540 #689D56 #89B679

Accessibility & contrast

On white

5.33
#4E7540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#4E7540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7540
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7540#FFFFFF#000000##FFFFFF
##4E75401.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786D3C
Deuteranopia (green-blind)
#726A43
Tritanopia (blue-blind)
#4C7268
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4e7540;
/* rgb */ color: rgb(78, 117, 64);
/* oklch */ color: oklch(51.9% 0.091 137.8);
Tailwind
colors: {
  custom: {
    50: '#819d76',
    500: '#4e7540',
    950: '#000000',
  },
}
SCSS
$custom: #4e7540;
$custom-light: #819d76;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7540",
  "rgb": {
    "r": 78,
    "g": 117,
    "b": 64
  },
  "hsl": {
    "h": 104.151,
    "s": 29.282,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5194,
    "c": 0.09082,
    "h": 137.8
  },
  "luminance": 0.14712
}

Semantic roles & 50–950 ramp

primary
#4E7540
secondary
#9470A1
accent
#62C6AB
background
#F8F9F7
surface
#EFF2ED
border
#CACCC8
text
#0A0E08
muted
#7C7E7B

Preview Lab

Preview with #4E7540

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

Preview Lab → · Contrast checker → · Palette generator →

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