#4E7E40#4E7E40

#4E7E40 is a mid, moderate green. Relative luminance 0.169; OKLCH L 54.3% C 0.105 H 138.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4E7E40
RGBrgb(78, 126, 64)
HSLhsl(106, 33%, 37%)
HSVhsv(106, 49%, 49%)
CMYKcmyk(38.1%, 0%, 49.2%, 50.6%)
CIE-LABlab(48.15, -29.00, 28.59)
CIE-LCHlch(48.15, 40.73, 135.41°)
OKLaboklab(54.3% -0.0794 0.0692)
OKLCHoklch(54.3% 0.105 138.9)
XYZxyz(11.5278, 16.9110, 7.5062)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7E40 #70407E
analogous
#6D7E40 #4E7E40 #407E51
triadic
#4E7E40 #404E7E #7E404E
tetradic
#4E7E40 #406D7E #70407E #7E5140
square
#4E7E40 #406D7E #70407E #7E5140
split-complementary
#4E7E40 #51407E #7E406D
monochromatic
#1C2D17 #35552B #4E7E40 #67A755 #8BBC7C

Accessibility & contrast

On white

4.79
#4E7E40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#4E7E40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7E40
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7E40#FFFFFF#000000##FFFFFF
##4E7E401.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81753B
Deuteranopia (green-blind)
#7A7144
Tritanopia (blue-blind)
#4B7A6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e7e40;
/* rgb */ color: rgb(78, 126, 64);
/* oklch */ color: oklch(54.3% 0.105 138.9);
Tailwind
colors: {
  custom: {
    50: '#82a476',
    500: '#4e7e40',
    950: '#000000',
  },
}
SCSS
$custom: #4e7e40;
$custom-light: #82a476;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7e40",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 64
  },
  "hsl": {
    "h": 106.452,
    "s": 32.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.54304,
    "c": 0.10537,
    "h": 138.9
  },
  "luminance": 0.16912
}

Semantic roles & 50–950 ramp

primary
#4E7E40
secondary
#9B73A7
accent
#5FC9B1
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B0F08
muted
#7C7F7B

Preview Lab

Preview with #4E7E40

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

Preview Lab → · Contrast checker → · Palette generator →

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