#4E7542#4E7542

#4E7542 is a mid, moderate green. Relative luminance 0.147; OKLCH L 52.0% C 0.089 H 138.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4E7542
RGBrgb(78, 117, 66)
HSLhsl(106, 28%, 36%)
HSVhsv(106, 44%, 46%)
CMYKcmyk(33.3%, 0%, 43.6%, 54.1%)
CIE-LABlab(45.27, -24.28, 23.85)
CIE-LCHlch(45.27, 34.04, 135.51°)
OKLaboklab(51.98% -0.0664 0.0586)
OKLCHoklch(51.98% 0.089 138.6)
XYZxyz(10.4862, 14.7352, 7.4449)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7542 #694275
analogous
#677542 #4E7542 #42754F
triadic
#4E7542 #424E75 #75424E
tetradic
#4E7542 #426775 #694275 #754F42
square
#4E7542 #426775 #694275 #754F42
split-complementary
#4E7542 #4F4275 #754267
monochromatic
#1A2716 #344E2C #4E7542 #689C58 #8AB57C

Accessibility & contrast

On white

5.32
#4E7542 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#4E7542 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7542
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7542#FFFFFF#000000##FFFFFF
##4E75421.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786D3E
Deuteranopia (green-blind)
#726A45
Tritanopia (blue-blind)
#4C7269
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4e7542;
/* rgb */ color: rgb(78, 117, 66);
/* oklch */ color: oklch(52.0% 0.089 138.6);
Tailwind
colors: {
  custom: {
    50: '#819d77',
    500: '#4e7542',
    950: '#000000',
  },
}
SCSS
$custom: #4e7542;
$custom-light: #819d77;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7542",
  "rgb": {
    "r": 78,
    "g": 117,
    "b": 66
  },
  "hsl": {
    "h": 105.882,
    "s": 27.869,
    "l": 35.882
  },
  "oklch": {
    "l": 0.51976,
    "c": 0.08856,
    "h": 138.6
  },
  "luminance": 0.14736
}

Semantic roles & 50–950 ramp

primary
#4E7542
secondary
#9672A0
accent
#64C4AD
background
#F8F9F7
surface
#EFF2ED
border
#CACCC8
text
#0A0E08
muted
#7C7E7B

Preview Lab

Preview with #4E7542

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

Preview Lab → · Contrast checker → · Palette generator →

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