#4E7E42#4E7E42

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

Color values

HEX#4E7E42
RGBrgb(78, 126, 66)
HSLhsl(108, 31%, 38%)
HSVhsv(108, 48%, 49%)
CMYKcmyk(38.1%, 0%, 47.6%, 50.6%)
CIE-LABlab(48.18, -28.71, 27.55)
CIE-LCHlch(48.18, 39.79, 136.19°)
OKLaboklab(54.34% -0.0786 0.067)
OKLCHoklch(54.34% 0.103 139.5)
XYZxyz(11.5857, 16.9342, 7.8114)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7E42 #72427E
analogous
#6C7E42 #4E7E42 #427E54
triadic
#4E7E42 #424E7E #7E424E
tetradic
#4E7E42 #426C7E #72427E #7E5442
square
#4E7E42 #426C7E #72427E #7E5442
split-complementary
#4E7E42 #54427E #7E426C
monochromatic
#1C2E18 #35562D #4E7E42 #67A657 #8BBC7F

Accessibility & contrast

On white

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

On black

4.39
#4E7E42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E7E42#FFFFFF#000000##FFFFFF
##4E7E421.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81753D
Deuteranopia (green-blind)
#7A7146
Tritanopia (blue-blind)
#4B7A70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e7e42;
/* rgb */ color: rgb(78, 126, 66);
/* oklch */ color: oklch(54.3% 0.103 139.5);
Tailwind
colors: {
  custom: {
    50: '#82a477',
    500: '#4e7e42',
    950: '#000000',
  },
}
SCSS
$custom: #4e7e42;
$custom-light: #82a477;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7e42",
  "rgb": {
    "r": 78,
    "g": 126,
    "b": 66
  },
  "hsl": {
    "h": 108,
    "s": 31.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.54337,
    "c": 0.10324,
    "h": 139.5
  },
  "luminance": 0.16935
}

Semantic roles & 50–950 ramp

primary
#4E7E42
secondary
#9D75A7
accent
#60C7B3
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B0F09
muted
#7C7F7B

Preview Lab

Preview with #4E7E42

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

Preview Lab → · Contrast checker → · Palette generator →

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