#4E7A42#4E7A42

#4E7A42 is a mid, moderate green. Relative luminance 0.159; OKLCH L 53.3% C 0.097 H 139.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4E7A42
RGBrgb(78, 122, 66)
HSLhsl(107, 30%, 37%)
HSVhsv(107, 46%, 48%)
CMYKcmyk(36.1%, 0%, 45.9%, 52.2%)
CIE-LABlab(46.88, -26.77, 25.92)
CIE-LCHlch(46.88, 37.26, 135.93°)
OKLaboklab(53.29% -0.0732 0.0633)
OKLCHoklch(53.29% 0.097 139.2)
XYZxyz(11.0844, 15.9316, 7.6443)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7A42 #6E427A
analogous
#6A7A42 #4E7A42 #427A52
triadic
#4E7A42 #424E7A #7A424E
tetradic
#4E7A42 #426A7A #6E427A #7A5242
square
#4E7A42 #426A7A #6E427A #7A5242
split-complementary
#4E7A42 #52427A #7A426A
monochromatic
#1B2B17 #35522D #4E7A42 #67A257 #8AB97D

Accessibility & contrast

On white

5.02
#4E7A42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#4E7A42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7A42
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7A42#FFFFFF#000000##FFFFFF
##4E7A421.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D723E
Deuteranopia (green-blind)
#776E45
Tritanopia (blue-blind)
#4B776D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e7a42;
/* rgb */ color: rgb(78, 122, 66);
/* oklch */ color: oklch(53.3% 0.097 139.2);
Tailwind
colors: {
  custom: {
    50: '#82a177',
    500: '#4e7a42',
    950: '#000000',
  },
}
SCSS
$custom: #4e7a42;
$custom-light: #82a177;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7a42",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 66
  },
  "hsl": {
    "h": 107.143,
    "s": 29.787,
    "l": 36.863
  },
  "oklch": {
    "l": 0.53287,
    "c": 0.0968,
    "h": 139.2
  },
  "luminance": 0.15932
}

Semantic roles & 50–950 ramp

primary
#4E7A42
secondary
#9A74A4
accent
#62C6B1
background
#F8F9F7
surface
#EFF2ED
border
#CACCC8
text
#0A0F09
muted
#7C7E7B

Preview Lab

Preview with #4E7A42

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

Preview Lab → · Contrast checker → · Palette generator →

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