#4E7942#4E7942

#4E7942 is a mid, moderate green. Relative luminance 0.157; OKLCH L 53.0% C 0.095 H 139.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4E7942
RGBrgb(78, 121, 66)
HSLhsl(107, 29%, 37%)
HSVhsv(107, 45%, 47%)
CMYKcmyk(35.5%, 0%, 45.5%, 52.5%)
CIE-LABlab(46.56, -26.28, 25.50)
CIE-LCHlch(46.56, 36.62, 135.86°)
OKLaboklab(53.02% -0.0719 0.0624)
OKLCHoklch(53.02% 0.095 139.1)
XYZxyz(10.9623, 15.6873, 7.6036)
Luminance0.1569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7942 #6D4279
analogous
#6A7942 #4E7942 #427952
triadic
#4E7942 #424E79 #79424E
tetradic
#4E7942 #426A79 #6D4279 #795242
square
#4E7942 #426A79 #6D4279 #795242
split-complementary
#4E7942 #524279 #79426A
monochromatic
#1B2A17 #34512C #4E7942 #68A158 #8AB87D

Accessibility & contrast

On white

5.08
#4E7942 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#4E7942 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E7942
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7942#FFFFFF#000000##FFFFFF
##4E79421.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C713E
Deuteranopia (green-blind)
#766D45
Tritanopia (blue-blind)
#4B766C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #4e7942;
/* rgb */ color: rgb(78, 121, 66);
/* oklch */ color: oklch(53.0% 0.095 139.1);
Tailwind
colors: {
  custom: {
    50: '#82a077',
    500: '#4e7942',
    950: '#000000',
  },
}
SCSS
$custom: #4e7942;
$custom-light: #82a077;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7942",
  "rgb": {
    "r": 78,
    "g": 121,
    "b": 66
  },
  "hsl": {
    "h": 106.909,
    "s": 29.412,
    "l": 36.667
  },
  "oklch": {
    "l": 0.53024,
    "c": 0.09516,
    "h": 139.1
  },
  "luminance": 0.15688
}

Semantic roles & 50–950 ramp

primary
#4E7942
secondary
#9974A3
accent
#62C6B0
background
#F8F9F7
surface
#EFF2ED
border
#CACCC8
text
#0A0E09
muted
#7C7E7B

Preview Lab

Preview with #4E7942

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

Preview Lab → · Contrast checker → · Palette generator →

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