#4C8147#4C8147

#4C8147 is a mid, moderate green. Relative luminance 0.177; OKLCH L 55.1% C 0.104 H 142.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#4C8147
RGBrgb(76, 129, 71)
HSLhsl(115, 29%, 39%)
HSVhsv(115, 45%, 51%)
CMYKcmyk(41.1%, 0%, 45%, 49.4%)
CIE-LABlab(49.12, -30.08, 25.99)
CIE-LCHlch(49.12, 39.75, 139.18°)
OKLaboklab(55.1% -0.082 0.0637)
OKLCHoklch(55.1% 0.104 142.2)
XYZxyz(11.9676, 17.6913, 8.7442)
Luminance0.1769 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C8147 #7C4781
analogous
#698147 #4C8147 #47815F
triadic
#4C8147 #474C81 #81474C
tetradic
#4C8147 #476981 #7C4781 #815F47
square
#4C8147 #476981 #7C4781 #815F47
split-complementary
#4C8147 #5F4781 #814769
monochromatic
#1D321C #355A31 #4C8147 #65A75F #8BBC86

Accessibility & contrast

On white

4.63
#4C8147 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#4C8147 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4C8147
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C8147#FFFFFF#000000##FFFFFF
##4C81471.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847843
Deuteranopia (green-blind)
#7C734B
Tritanopia (blue-blind)
#477E73
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4c8147;
/* rgb */ color: rgb(76, 129, 71);
/* oklch */ color: oklch(55.1% 0.104 142.2);
Tailwind
colors: {
  custom: {
    50: '#81a67b',
    500: '#4c8147',
    950: '#000000',
  },
}
SCSS
$custom: #4c8147;
$custom-light: #81a67b;
$custom-dark: #000000;
JSON
{
  "hex": "#4c8147",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 71
  },
  "hsl": {
    "h": 114.828,
    "s": 29,
    "l": 39.216
  },
  "oklch": {
    "l": 0.55101,
    "c": 0.10385,
    "h": 142.2
  },
  "luminance": 0.17692
}

Semantic roles & 50–950 ramp

primary
#4C8147
secondary
#A47CA8
accent
#63C5BD
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0A0F09
muted
#7C7F7B

Preview Lab

Preview with #4C8147

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

Preview Lab → · Contrast checker → · Palette generator →

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