#4E7D42#4E7D42

#4E7D42 is a mid, moderate green. Relative luminance 0.167; OKLCH L 54.1% C 0.102 H 139.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4E7D42
RGBrgb(78, 125, 66)
HSLhsl(108, 31%, 37%)
HSVhsv(108, 47%, 49%)
CMYKcmyk(37.6%, 0%, 47.2%, 51%)
CIE-LABlab(47.85, -28.23, 27.14)
CIE-LCHlch(47.85, 39.16, 136.13°)
OKLaboklab(54.07% -0.0772 0.0661)
OKLCHoklch(54.07% 0.102 139.5)
XYZxyz(11.4585, 16.6797, 7.7690)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7D42 #71427D
analogous
#6B7D42 #4E7D42 #427D54
triadic
#4E7D42 #424E7D #7D424E
tetradic
#4E7D42 #426B7D #71427D #7D5442
square
#4E7D42 #426B7D #71427D #7D5442
split-complementary
#4E7D42 #54427D #7D426B
monochromatic
#1C2D18 #35552D #4E7D42 #67A557 #8BBB7E

Accessibility & contrast

On white

4.84
#4E7D42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#4E7D42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7D42
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7D42#FFFFFF#000000##FFFFFF
##4E7D421.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80743D
Deuteranopia (green-blind)
#797046
Tritanopia (blue-blind)
#4B7A6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4e7d42;
/* rgb */ color: rgb(78, 125, 66);
/* oklch */ color: oklch(54.1% 0.102 139.5);
Tailwind
colors: {
  custom: {
    50: '#82a377',
    500: '#4e7d42',
    950: '#000000',
  },
}
SCSS
$custom: #4e7d42;
$custom-light: #82a377;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7d42",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 66
  },
  "hsl": {
    "h": 107.797,
    "s": 30.89,
    "l": 37.451
  },
  "oklch": {
    "l": 0.54074,
    "c": 0.10164,
    "h": 139.5
  },
  "luminance": 0.1668
}

Semantic roles & 50–950 ramp

primary
#4E7D42
secondary
#9C75A6
accent
#61C7B2
background
#F8FAF7
surface
#EFF3ED
border
#CACDC8
text
#0B0F09
muted
#7C7F7B

Preview Lab

Preview with #4E7D42

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

Preview Lab → · Contrast checker → · Palette generator →

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