#4E7C42#4E7C42

#4E7C42 is a mid, moderate green. Relative luminance 0.164; OKLCH L 53.8% C 0.100 H 139.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4E7C42
RGBrgb(78, 124, 66)
HSLhsl(108, 31%, 37%)
HSVhsv(108, 47%, 49%)
CMYKcmyk(37.1%, 0%, 46.8%, 51.4%)
CIE-LABlab(47.53, -27.75, 26.73)
CIE-LCHlch(47.53, 38.53, 136.07°)
OKLaboklab(53.81% -0.0759 0.0651)
OKLCHoklch(53.81% 0.1 139.4)
XYZxyz(11.3325, 16.4278, 7.7270)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7C42 #70427C
analogous
#6B7C42 #4E7C42 #427C53
triadic
#4E7C42 #424E7C #7C424E
tetradic
#4E7C42 #426B7C #70427C #7C5342
square
#4E7C42 #426B7C #70427C #7C5342
split-complementary
#4E7C42 #53427C #7C426B
monochromatic
#1C2C17 #35542D #4E7C42 #67A457 #8BBA7E

Accessibility & contrast

On white

4.90
#4E7C42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#4E7C42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7C42
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7C42#FFFFFF#000000##FFFFFF
##4E7C421.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F733D
Deuteranopia (green-blind)
#786F46
Tritanopia (blue-blind)
#4B796E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4e7c42;
/* rgb */ color: rgb(78, 124, 66);
/* oklch */ color: oklch(53.8% 0.100 139.4);
Tailwind
colors: {
  custom: {
    50: '#82a277',
    500: '#4e7c42',
    950: '#000000',
  },
}
SCSS
$custom: #4e7c42;
$custom-light: #82a277;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7c42",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 66
  },
  "hsl": {
    "h": 107.586,
    "s": 30.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.53812,
    "c": 0.10003,
    "h": 139.4
  },
  "luminance": 0.16428
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E7C42

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

Preview Lab → · Contrast checker → · Palette generator →

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