#4C8A42#4C8A42

#4C8A42 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.4% C 0.123 H 141.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4C8A42
RGBrgb(76, 138, 66)
HSLhsl(112, 35%, 40%)
HSVhsv(112, 52%, 54%)
CMYKcmyk(44.9%, 0%, 52.2%, 45.9%)
CIE-LABlab(51.96, -34.96, 32.21)
CIE-LCHlch(51.96, 47.54, 137.35°)
OKLaboklab(57.39% -0.0955 0.0774)
OKLCHoklch(57.39% 0.123 141)
XYZxyz(13.0518, 20.1060, 8.3463)
Luminance0.2011 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8A42 #80428A
analogous
#708A42 #4C8A42 #428A5C
triadic
#4C8A42 #424C8A #8A424C
tetradic
#4C8A42 #42708A #80428A #8A5C42
square
#4C8A42 #42708A #80428A #8A5C42
split-complementary
#4C8A42 #5C428A #8A4270
monochromatic
#1E371A #35612E #4C8A42 #65B059 #8CC483

Accessibility & contrast

On white

4.18
#4C8A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#4C8A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8A42
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8A42#FFFFFF#000000##000000
##4C8A421.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7F3C
Deuteranopia (green-blind)
#857A47
Tritanopia (blue-blind)
#468679
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4c8a42;
/* rgb */ color: rgb(76, 138, 66);
/* oklch */ color: oklch(57.4% 0.123 141.0);
Tailwind
colors: {
  custom: {
    50: '#82ac78',
    500: '#4c8a42',
    950: '#000000',
  },
}
SCSS
$custom: #4c8a42;
$custom-light: #82ac78;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8a42",
  "rgb": {
    "r": 76,
    "g": 138,
    "b": 66
  },
  "hsl": {
    "h": 111.667,
    "s": 35.294,
    "l": 40
  },
  "oklch": {
    "l": 0.57392,
    "c": 0.12298,
    "h": 141
  },
  "luminance": 0.20107
}

Semantic roles & 50–950 ramp

primary
#4C8A42
secondary
#A779AE
accent
#5CCBBC
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B1009
muted
#7C7F7B

Preview Lab

Preview with #4C8A42

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

Preview Lab → · Contrast checker → · Palette generator →

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