#4E7D40#4E7D40

#4E7D40 is a mid, moderate green. Relative luminance 0.167; OKLCH L 54.0% C 0.104 H 138.8°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#4E7D40
RGBrgb(78, 125, 64)
HSLhsl(106, 32%, 37%)
HSVhsv(106, 49%, 49%)
CMYKcmyk(37.6%, 0%, 48.8%, 51%)
CIE-LABlab(47.82, -28.52, 28.19)
CIE-LCHlch(47.82, 40.10, 135.33°)
OKLaboklab(54.04% -0.0781 0.0683)
OKLCHoklch(54.04% 0.104 138.8)
XYZxyz(11.4005, 16.6565, 7.4638)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7D40 #6F407D
analogous
#6C7D40 #4E7D40 #407D51
triadic
#4E7D40 #404E7D #7D404E
tetradic
#4E7D40 #406C7D #6F407D #7D5140
square
#4E7D40 #406C7D #6F407D #7D5140
split-complementary
#4E7D40 #51407D #7D406C
monochromatic
#1B2C17 #35552B #4E7D40 #67A555 #8ABC7C

Accessibility & contrast

On white

4.85
#4E7D40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#4E7D40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7D40
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7D40#FFFFFF#000000##FFFFFF
##4E7D401.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80743B
Deuteranopia (green-blind)
#797044
Tritanopia (blue-blind)
#4B796F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e7d40;
/* rgb */ color: rgb(78, 125, 64);
/* oklch */ color: oklch(54.0% 0.104 138.8);
Tailwind
colors: {
  custom: {
    50: '#82a376',
    500: '#4e7d40',
    950: '#000000',
  },
}
SCSS
$custom: #4e7d40;
$custom-light: #82a376;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7d40",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 64
  },
  "hsl": {
    "h": 106.23,
    "s": 32.275,
    "l": 37.059
  },
  "oklch": {
    "l": 0.54041,
    "c": 0.10379,
    "h": 138.8
  },
  "luminance": 0.16657
}

Semantic roles & 50–950 ramp

primary
#4E7D40
secondary
#9A73A6
accent
#5FC8B0
background
#F8FAF7
surface
#EFF3ED
border
#CACDC8
text
#0B0F08
muted
#7C7F7B

Preview Lab

Preview with #4E7D40

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

Preview Lab → · Contrast checker → · Palette generator →

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