#4C8342#4C8342

#4C8342 is a mid, moderate green. Relative luminance 0.182; OKLCH L 55.5% C 0.112 H 140.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#4C8342
RGBrgb(76, 131, 66)
HSLhsl(111, 33%, 39%)
HSVhsv(111, 50%, 51%)
CMYKcmyk(42%, 0%, 49.6%, 48.6%)
CIE-LABlab(49.69, -31.77, 29.42)
CIE-LCHlch(49.69, 43.30, 137.20°)
OKLaboklab(55.54% -0.0868 0.0712)
OKLCHoklch(55.54% 0.112 140.6)
XYZxyz(12.0797, 18.1618, 8.0223)
Luminance0.1816 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8342 #794283
analogous
#6C8342 #4C8342 #428358
triadic
#4C8342 #424C83 #83424C
tetradic
#4C8342 #426C83 #794283 #835842
square
#4C8342 #426C83 #794283 #835842
split-complementary
#4C8342 #584283 #83426C
monochromatic
#1D3219 #345A2D #4C8342 #64AB58 #8ABF80

Accessibility & contrast

On white

4.53
#4C8342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#4C8342 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C8342
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8342#FFFFFF#000000##000000
##4C83421.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#86793D
Deuteranopia (green-blind)
#7E7446
Tritanopia (blue-blind)
#477F74
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4c8342;
/* rgb */ color: rgb(76, 131, 66);
/* oklch */ color: oklch(55.5% 0.112 140.6);
Tailwind
colors: {
  custom: {
    50: '#81a778',
    500: '#4c8342',
    950: '#000000',
  },
}
SCSS
$custom: #4c8342;
$custom-light: #81a778;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8342",
  "rgb": {
    "r": 76,
    "g": 131,
    "b": 66
  },
  "hsl": {
    "h": 110.769,
    "s": 32.995,
    "l": 38.627
  },
  "oklch": {
    "l": 0.55543,
    "c": 0.11229,
    "h": 140.6
  },
  "luminance": 0.18162
}

Semantic roles & 50–950 ramp

primary
#4C8342
secondary
#A277AA
accent
#5FC9B9
background
#F8FAF7
surface
#EFF4ED
border
#CACEC8
text
#0B0F09
muted
#7C7F7B

Preview Lab

Preview with #4C8342

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

Preview Lab → · Contrast checker → · Palette generator →

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