#4E7B40#4E7B40

#4E7B40 is a mid, moderate green. Relative luminance 0.162; OKLCH L 53.5% C 0.101 H 138.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4E7B40
RGBrgb(78, 123, 64)
HSLhsl(106, 32%, 37%)
HSVhsv(106, 48%, 48%)
CMYKcmyk(36.6%, 0%, 48%, 51.8%)
CIE-LABlab(47.18, -27.55, 27.38)
CIE-LCHlch(47.18, 38.84, 135.18°)
OKLaboklab(53.52% -0.0755 0.0665)
OKLCHoklch(53.52% 0.101 138.6)
XYZxyz(11.1499, 16.1553, 7.3803)
Luminance0.1616 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7B40 #6D407B
analogous
#6C7B40 #4E7B40 #407B50
triadic
#4E7B40 #404E7B #7B404E
tetradic
#4E7B40 #406C7B #6D407B #7B5040
square
#4E7B40 #406C7B #6D407B #7B5040
split-complementary
#4E7B40 #50407B #7B406C
monochromatic
#1B2A16 #34532B #4E7B40 #68A355 #8ABA7B

Accessibility & contrast

On white

4.96
#4E7B40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#4E7B40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7B40
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7B40#FFFFFF#000000##FFFFFF
##4E7B401.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E723B
Deuteranopia (green-blind)
#786E44
Tritanopia (blue-blind)
#4B776D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4e7b40;
/* rgb */ color: rgb(78, 123, 64);
/* oklch */ color: oklch(53.5% 0.101 138.6);
Tailwind
colors: {
  custom: {
    50: '#82a176',
    500: '#4e7b40',
    950: '#000000',
  },
}
SCSS
$custom: #4e7b40;
$custom-light: #82a176;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7b40",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 64
  },
  "hsl": {
    "h": 105.763,
    "s": 31.551,
    "l": 36.667
  },
  "oklch": {
    "l": 0.53515,
    "c": 0.10059,
    "h": 138.6
  },
  "luminance": 0.16156
}

Semantic roles & 50–950 ramp

primary
#4E7B40
secondary
#9972A5
accent
#60C8AF
background
#F8F9F7
surface
#EFF2ED
border
#CACCC8
text
#0B0F08
muted
#7C7E7B

Preview Lab

Preview with #4E7B40

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

Preview Lab → · Contrast checker → · Palette generator →

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