#4E7C40#4E7C40

#4E7C40 is a mid, moderate green. Relative luminance 0.164; OKLCH L 53.8% C 0.102 H 138.7°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4E7C40
RGBrgb(78, 124, 64)
HSLhsl(106, 32%, 37%)
HSVhsv(106, 48%, 49%)
CMYKcmyk(37.1%, 0%, 48.4%, 51.4%)
CIE-LABlab(47.50, -28.04, 27.79)
CIE-LCHlch(47.50, 39.47, 135.26°)
OKLaboklab(53.78% -0.0768 0.0674)
OKLCHoklch(53.78% 0.102 138.7)
XYZxyz(11.2746, 16.4046, 7.4218)
Luminance0.1641 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7C40 #6E407C
analogous
#6C7C40 #4E7C40 #407C50
triadic
#4E7C40 #404E7C #7C404E
tetradic
#4E7C40 #406C7C #6E407C #7C5040
square
#4E7C40 #406C7C #6E407C #7C5040
split-complementary
#4E7C40 #50407C #7C406C
monochromatic
#1B2B16 #35542B #4E7C40 #67A455 #8ABB7B

Accessibility & contrast

On white

4.91
#4E7C40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#4E7C40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7C40
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7C40#FFFFFF#000000##FFFFFF
##4E7C401.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F733B
Deuteranopia (green-blind)
#796F44
Tritanopia (blue-blind)
#4B786E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e7c40;
/* rgb */ color: rgb(78, 124, 64);
/* oklch */ color: oklch(53.8% 0.102 138.7);
Tailwind
colors: {
  custom: {
    50: '#82a276',
    500: '#4e7c40',
    950: '#000000',
  },
}
SCSS
$custom: #4e7c40;
$custom-light: #82a276;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7c40",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 64
  },
  "hsl": {
    "h": 106,
    "s": 31.915,
    "l": 36.863
  },
  "oklch": {
    "l": 0.53778,
    "c": 0.10219,
    "h": 138.7
  },
  "luminance": 0.16405
}

Semantic roles & 50–950 ramp

primary
#4E7C40
secondary
#9A72A6
accent
#60C8B0
background
#F8FAF7
surface
#EFF3ED
border
#CACDC8
text
#0B0F08
muted
#7C7F7B

Preview Lab

Preview with #4E7C40

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

Preview Lab → · Contrast checker → · Palette generator →

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