#4E7A40#4E7A40

#4E7A40 is a mid, moderate green. Relative luminance 0.159; OKLCH L 53.3% C 0.099 H 138.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4E7A40
RGBrgb(78, 122, 64)
HSLhsl(106, 31%, 36%)
HSVhsv(106, 48%, 48%)
CMYKcmyk(36.1%, 0%, 47.5%, 52.2%)
CIE-LABlab(46.85, -27.07, 26.98)
CIE-LCHlch(46.85, 38.21, 135.10°)
OKLaboklab(53.25% -0.0741 0.0656)
OKLCHoklch(53.25% 0.099 138.5)
XYZxyz(11.0265, 15.9084, 7.3391)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7A40 #6C407A
analogous
#6B7A40 #4E7A40 #407A4F
triadic
#4E7A40 #404E7A #7A404E
tetradic
#4E7A40 #406B7A #6C407A #7A4F40
square
#4E7A40 #406B7A #6C407A #7A4F40
split-complementary
#4E7A40 #4F407A #7A406B
monochromatic
#1B2A16 #34522B #4E7A40 #68A255 #8ABA7B

Accessibility & contrast

On white

5.02
#4E7A40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#4E7A40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7A40
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7A40#FFFFFF#000000##FFFFFF
##4E7A401.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D723B
Deuteranopia (green-blind)
#776E44
Tritanopia (blue-blind)
#4C766C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e7a40;
/* rgb */ color: rgb(78, 122, 64);
/* oklch */ color: oklch(53.3% 0.099 138.5);
Tailwind
colors: {
  custom: {
    50: '#82a176',
    500: '#4e7a40',
    950: '#000000',
  },
}
SCSS
$custom: #4e7a40;
$custom-light: #82a176;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7a40",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 64
  },
  "hsl": {
    "h": 105.517,
    "s": 31.183,
    "l": 36.471
  },
  "oklch": {
    "l": 0.53252,
    "c": 0.09898,
    "h": 138.5
  },
  "luminance": 0.15909
}

Semantic roles & 50–950 ramp

primary
#4E7A40
secondary
#9872A4
accent
#60C7AF
background
#F8F9F7
surface
#EFF2ED
border
#CACCC8
text
#0B0F08
muted
#7C7E7B

Preview Lab

Preview with #4E7A40

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

Preview Lab → · Contrast checker → · Palette generator →

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