#4E7940#4E7940

#4E7940 is a mid, moderate green. Relative luminance 0.157; OKLCH L 53.0% C 0.097 H 138.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4E7940
RGBrgb(78, 121, 64)
HSLhsl(105, 31%, 36%)
HSVhsv(105, 47%, 47%)
CMYKcmyk(35.5%, 0%, 47.1%, 52.5%)
CIE-LABlab(46.53, -26.58, 26.57)
CIE-LCHlch(46.53, 37.58, 135.01°)
OKLaboklab(52.99% -0.0728 0.0647)
OKLCHoklch(52.99% 0.097 138.4)
XYZxyz(10.9043, 15.6641, 7.2984)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7940 #6B4079
analogous
#6B7940 #4E7940 #40794F
triadic
#4E7940 #404E79 #79404E
tetradic
#4E7940 #406B79 #6B4079 #794F40
square
#4E7940 #406B79 #6B4079 #794F40
split-complementary
#4E7940 #4F4079 #79406B
monochromatic
#1A2916 #34512B #4E7940 #68A155 #8AB97A

Accessibility & contrast

On white

5.08
#4E7940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#4E7940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7940
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7940#FFFFFF#000000##FFFFFF
##4E79401.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C713B
Deuteranopia (green-blind)
#766D44
Tritanopia (blue-blind)
#4C766B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e7940;
/* rgb */ color: rgb(78, 121, 64);
/* oklch */ color: oklch(53.0% 0.097 138.4);
Tailwind
colors: {
  custom: {
    50: '#82a076',
    500: '#4e7940',
    950: '#000000',
  },
}
SCSS
$custom: #4e7940;
$custom-light: #82a076;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7940",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 64
  },
  "hsl": {
    "h": 105.263,
    "s": 30.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.52989,
    "c": 0.09737,
    "h": 138.4
  },
  "luminance": 0.15665
}

Semantic roles & 50–950 ramp

primary
#4E7940
secondary
#9771A4
accent
#61C7AE
background
#F8F9F7
surface
#EFF2ED
border
#CACCC8
text
#0A0E08
muted
#7C7E7B

Preview Lab

Preview with #4E7940

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

Preview Lab → · Contrast checker → · Palette generator →

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